Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

chire: use fork branch of nokhwa

Richie McIlroyd6b22489303f
diff --git a/Cargo.lock b/Cargo.lock
index 5842be07d..8a025a14f 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -1458,7 +1458,7 @@ dependencies = [
"mp4",
"nix 0.29.0",
"nokhwa",
- "nokhwa-bindings-macos",
+ "nokhwa-bindings-macos 0.2.0 (git+https://github.com/Brendonovich/nokhwa?rev=2de5a760d5f1)",
"num-traits",
"objc",
"objc2-app-kit",
@@ -3695,17 +3695,32 @@ checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb"
[[package]]
name = "nokhwa"
version = "0.10.3"
-source = "git+https://github.com/Brendonovich/nokhwa?rev=2de5a760d5f1#2de5a760d5f1abfc062bf7d7fec155e8a0eafdcd"
+source = "git+https://github.com/CapSoftware/nokhwa?branch=brendonovich-fork#523b6d9b6266da8d1d9495a64506953961b748be"
dependencies = [
"flume 0.10.14",
"image 0.24.9",
- "nokhwa-bindings-macos",
- "nokhwa-core",
+ "nokhwa-bindings-macos 0.2.0 (git+https://github.com/CapSoftware/nokhwa?branch=brendonovich-fork)",
+ "nokhwa-core 0.1.0 (git+https://github.com/CapSoftware/nokhwa?branch=brendonovich-fork)",
"paste",
"serde",
"thiserror",
]
+[[package]]
+name = "nokhwa-bindings-macos"
+version = "0.2.0"
+source = "git+https://github.com/CapSoftware/nokhwa?branch=brendonovich-fork#523b6d9b6266da8d1d9495a64506953961b748be"
+dependencies = [
+ "block",
+ "cocoa-foundation 0.1.2",
+ "core-media-sys",
+ "core-video-sys",
+ "flume 0.10.14",
+ "nokhwa-core 0.1.0 (git+https://github.com/CapSoftware/nokhwa?branch=brendonovich-fork)",
+ "objc",
+ "once_cell",
+]
+
[[package]]
name = "nokhwa-bindings-macos"
version = "0.2.0"
@@ -3716,7 +3731,7 @@ dependencies = [
"core-media-sys",
"core-video-sys",
"flume 0.10.14",
- "nokhwa-core",
+ "nokhwa-core 0.1.0 (git+https://github.com/Brendonovich/nokhwa?rev=2de5a760d5f1)",
"objc",
"once_cell",
]
@@ -3724,7 +3739,7 @@ dependencies = [
[[package]]
name = "nokhwa-core"
version = "0.1.0"
-source = "git+https://github.com/Brendonovich/nokhwa?rev=2de5a760d5f1#2de5a760d5f1abfc062bf7d7fec155e8a0eafdcd"
+source = "git+https://github.com/CapSoftware/nokhwa?branch=brendonovich-fork#523b6d9b6266da8d1d9495a64506953961b748be"
dependencies = [
"bytes",
"image 0.24.9",
@@ -3733,6 +3748,16 @@ dependencies = [
"thiserror",
]
+[[package]]
+name = "nokhwa-core"
+version = "0.1.0"
+source = "git+https://github.com/Brendonovich/nokhwa?rev=2de5a760d5f1#2de5a760d5f1abfc062bf7d7fec155e8a0eafdcd"
+dependencies = [
+ "bytes",
+ "image 0.24.9",
+ "thiserror",
+]
+
[[package]]
name = "nom"
version = "7.1.3"
diff --git a/apps/desktop/src-tauri/Cargo.toml b/apps/desktop/src-tauri/Cargo.toml
index 210069e4d..dba461e25 100644
--- a/apps/desktop/src-tauri/Cargo.toml
+++ b/apps/desktop/src-tauri/Cargo.toml
@@ -53,7 +53,7 @@ futures-intrusive = "0.5.0"
anyhow = "1.0.86"
mp4 = "0.14.0"
futures = "0.3.30"
-nokhwa = { git = "https://github.com/Brendonovich/nokhwa", rev = "2de5a760d5f1", features = [
+nokhwa = { git = "https://github.com/CapSoftware/nokhwa", branch = "brendonovich-fork", features = [
"input-avfoundation",
"serialize",
] }