Skip to content

armgit / Cap

Public Imported from GitHub
0

Open source Loom alternative. Beautiful, shareable screen recordings.

Revert "update ffmpeg crates to 7.1"

Richie McIlroye3e314eb1ec0
diff --git a/Cargo.lock b/Cargo.lock
index f09b71bd3..455009dae 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -466,24 +466,6 @@ 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"
@@ -1178,7 +1160,7 @@ version = "0.2.15"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "7f01585027057ff5f0a5bf276174ae4c1594a2c5bde93d5f46a016d76270f5a9"
dependencies = [
- "bindgen 0.69.4",
+ "bindgen",
]
[[package]]
@@ -1802,9 +1784,8 @@ dependencies = [
[[package]]
name = "ffmpeg-next"
-version = "7.1.0"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "da02698288e0275e442a47fc12ca26d50daf0d48b15398ba5906f20ac2e2a9f9"
+version = "7.0.4"
+source = "git+https://github.com/CapSoftware/rust-ffmpeg?rev=11f8d264bbc0#11f8d264bbc0dd7f4956d16c827b94ffc05191a8"
dependencies = [
"bitflags 2.6.0",
"ffmpeg-sys-next",
@@ -1830,11 +1811,11 @@ dependencies = [
[[package]]
name = "ffmpeg-sys-next"
-version = "7.1.0"
+version = "7.0.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2bc3234d0a4b2f7d083699d0860c6c9dd83713908771b60f94a96f8704adfe45"
+checksum = "db1b7546e70609ead8c06b2b4c618a1ba352364675f81608f431dd4f321fe3f1"
dependencies = [
- "bindgen 0.70.1",
+ "bindgen",
"cc",
"libc",
"num_cpus",
@@ -3202,7 +3183,7 @@ version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "bf0d9716420364790e85cbb9d3ac2c950bde16a7dd36f3209b7dfdfc4a24d01f"
dependencies = [
- "bindgen 0.69.4",
+ "bindgen",
"cc",
"system-deps",
]
@@ -4393,7 +4374,7 @@ version = "0.8.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "849e188f90b1dda88fe2bfe1ad31fe5f158af2c98f80fb5d13726c44f3f01112"
dependencies = [
- "bindgen 0.69.4",
+ "bindgen",
"libspa-sys",
"system-deps",
]
diff --git a/Cargo.toml b/Cargo.toml
index 120024ed8..fca993bba 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -9,5 +9,5 @@ members = [
]
[workspace.dependencies]
-ffmpeg-next = "7.1"
+ffmpeg-next = { git = "https://github.com/CapSoftware/rust-ffmpeg", rev = "11f8d264bbc0" }
tauri = { version = "2.0.0-rc" }
diff --git a/crates/rendering/Cargo.toml b/crates/rendering/Cargo.toml
index 608cf9fc8..61116c678 100644
--- a/crates/rendering/Cargo.toml
+++ b/crates/rendering/Cargo.toml
@@ -23,5 +23,5 @@ nix = { version = "0.29.0", features = ["fs"] }
serde_json = "1.0.127"
ffmpeg-next.workspace = true
lru = "0.12.4"
-ffmpeg-sys-next = "7.1"
+ffmpeg-sys-next = "7.0.2"
futures = "0.3.30"