Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

use nokhwa with windows fix

Brendan Allan3218729fcb42
diff --git a/Cargo.lock b/Cargo.lock
index e5bf984e3..f36c2ef33 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -3703,7 +3703,7 @@ checksum = "72ef4a56884ca558e5ddb05a1d1e7e1bfd9a68d9ed024c21704cc98872dae1bb"
[[package]]
name = "nokhwa"
version = "0.10.3"
-source = "git+https://github.com/capsoftware/nokhwa?rev=3f7e33a7f49c#3f7e33a7f49c037690b11a2e2463777c36389350"
+source = "git+https://github.com/capsoftware/nokhwa?rev=6ce1e8270d57#6ce1e8270d57436e6caa6776247dab70aed13b65"
dependencies = [
"flume 0.10.14",
"image 0.24.9",
@@ -3717,7 +3717,7 @@ dependencies = [
[[package]]
name = "nokhwa-bindings-macos"
version = "0.2.0"
-source = "git+https://github.com/capsoftware/nokhwa?rev=3f7e33a7f49c#3f7e33a7f49c037690b11a2e2463777c36389350"
+source = "git+https://github.com/capsoftware/nokhwa?rev=6ce1e8270d57#6ce1e8270d57436e6caa6776247dab70aed13b65"
dependencies = [
"block",
"cocoa-foundation 0.1.2",
@@ -3732,7 +3732,7 @@ dependencies = [
[[package]]
name = "nokhwa-core"
version = "0.1.0"
-source = "git+https://github.com/capsoftware/nokhwa?rev=3f7e33a7f49c#3f7e33a7f49c037690b11a2e2463777c36389350"
+source = "git+https://github.com/capsoftware/nokhwa?rev=6ce1e8270d57#6ce1e8270d57436e6caa6776247dab70aed13b65"
dependencies = [
"bytes",
"image 0.24.9",
diff --git a/crates/media/Cargo.toml b/crates/media/Cargo.toml
index ff99bdc43..6ad971fb7 100644
--- a/crates/media/Cargo.toml
+++ b/crates/media/Cargo.toml
@@ -13,7 +13,7 @@ ffmpeg.workspace = true
ffmpeg-sys-next.workspace = true
flume = "0.11.0"
indexmap = "2.5.0"
-nokhwa = { git = "https://github.com/capsoftware/nokhwa", rev = "3f7e33a7f49c", features = [
+nokhwa = { git = "https://github.com/capsoftware/nokhwa", rev = "6ce1e8270d57", features = [
"input-avfoundation",
"serialize",
] }
@@ -31,4 +31,4 @@ core-foundation = "0.10.0"
objc = "0.2.7"
objc-foundation = "0.1.1"
objc2-foundation = { version = "0.2.2", features = ["NSValue"] }
-nokhwa-bindings-macos = { git = "https://github.com/capsoftware/nokhwa", rev = "3f7e33a7f49c" }
+nokhwa-bindings-macos = { git = "https://github.com/capsoftware/nokhwa", rev = "6ce1e8270d57" }