Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

fix: ffmpeg-next dependency change

Richie McIlroy40152dde11b2
diff --git a/Cargo.lock b/Cargo.lock
index f027322ea..c55ff8da7 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -490,6 +490,24 @@ dependencies = [
"syn 2.0.75",
]
+[[package]]
+name = "bindgen"
+version = "0.70.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "f49d8fed880d473ea71efb9bf597651e77201bdd4893efe54c9e5d65ae04ce6f"
+dependencies = [
+ "bitflags 2.6.0",
+ "cexpr",
+ "clang-sys",
+ "itertools",
+ "proc-macro2",
+ "quote",
+ "regex",
+ "rustc-hash 1.1.0",
+ "shlex",
+ "syn 2.0.75",
+]
+
[[package]]
name = "bit-set"
version = "0.6.0"
@@ -725,6 +743,7 @@ dependencies = [
"specta",
"tempfile",
"thiserror",
+ "tracing",
]
[[package]]
@@ -1223,7 +1242,7 @@ version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f01585027057ff5f0a5bf276174ae4c1594a2c5bde93d5f46a016d76270f5a9"
dependencies = [
- "bindgen",
+ "bindgen 0.69.4",
]
[[package]]
@@ -1871,8 +1890,8 @@ dependencies = [
[[package]]
name = "ffmpeg-next"
-version = "7.0.4"
-source = "git+https://github.com/CapSoftware/rust-ffmpeg?rev=11f8d264bbc0#11f8d264bbc0dd7f4956d16c827b94ffc05191a8"
+version = "7.1.0"
+source = "git+https://github.com/zmwangx/rust-ffmpeg?branch=master#a7b50dd5f909e071affffe238d434d184da30aee"
dependencies = [
"bitflags 2.6.0",
"ffmpeg-sys-next",
@@ -1898,11 +1917,11 @@ dependencies = [
[[package]]
name = "ffmpeg-sys-next"
-version = "7.0.2"
+version = "7.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "db1b7546e70609ead8c06b2b4c618a1ba352364675f81608f431dd4f321fe3f1"
+checksum = "2bc3234d0a4b2f7d083699d0860c6c9dd83713908771b60f94a96f8704adfe45"
dependencies = [
- "bindgen",
+ "bindgen 0.70.1",
"cc",
"libc",
"num_cpus",
@@ -3273,7 +3292,7 @@ version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf0d9716420364790e85cbb9d3ac2c950bde16a7dd36f3209b7dfdfc4a24d01f"
dependencies = [
- "bindgen",
+ "bindgen 0.69.4",
"cc",
"system-deps",
]
@@ -4531,7 +4550,7 @@ version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "849e188f90b1dda88fe2bfe1ad31fe5f158af2c98f80fb5d13726c44f3f01112"
dependencies = [
- "bindgen",
+ "bindgen 0.69.4",
"libspa-sys",
"system-deps",
]
diff --git a/Cargo.toml b/Cargo.toml
index 5e15b8d01..12fc65a71 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -12,8 +12,9 @@ members = [
[workspace.dependencies]
anyhow = "1.0.86"
-ffmpeg = { package = "ffmpeg-next", git = "https://github.com/CapSoftware/rust-ffmpeg", rev = "11f8d264bbc0" }
-ffmpeg-sys-next = "7.0.2"
+ffmpeg = { package = "ffmpeg-next", git = "https://github.com/zmwangx/rust-ffmpeg", branch = "master" }
+ffmpeg-sys-next = "7.1.0"
+ffmpeg-next = "7.1.0"
tokio = { version = "1.39.3", features = [
"macros",
"process",
@@ -21,6 +22,6 @@ tokio = { version = "1.39.3", features = [
"sync",
"rt",
"rt-multi-thread",
- "time"
+ "time",
] }
tauri = { version = "2.0.0-rc" }
diff --git a/crates/media/Cargo.toml b/crates/media/Cargo.toml
index d3eec257f..6515b081c 100644
--- a/crates/media/Cargo.toml
+++ b/crates/media/Cargo.toml
@@ -22,7 +22,7 @@ serde = { version = "1", features = ["derive"] }
specta = "=2.0.0-rc.19"
tempfile = "3.12.0"
thiserror = "1.0"
-# tracing = "0.1"
+tracing = "0.1"
[target.'cfg(target_os = "macos")'.dependencies]
core-graphics = "0.24.0"