Skip to content

Commit b94301d

Browse files
committed
fix: update version of rsmpeg
1 parent 7d94a15 commit b94301d

File tree

1 file changed

+4
-7
lines changed

1 file changed

+4
-7
lines changed

src/rust/Cargo.toml

Lines changed: 4 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -26,18 +26,15 @@ lib_ccxr = { path = "lib_ccxr" }
2626
url = "2.5.4"
2727
encoding_rs = "0.8.5"
2828

29-
# Use rsmpeg 0.18.0 with platform-specific FFmpeg features
29+
# Use rsmpeg with platform-specific FFmpeg features and versions
3030
[target.'cfg(target_os = "linux")'.dependencies]
31-
rsmpeg = { version = "0.18.0", default-features = false, features = ["ffmpeg6", "link_system_ffmpeg"], optional = true }
31+
rsmpeg = { version = "0.14.2", default-features = false, features = ["ffmpeg6", "link_system_ffmpeg"], optional = true }
3232

3333
[target.'cfg(target_os = "windows")'.dependencies]
34-
rsmpeg = { version = "0.18.0", default-features = false, features = ["ffmpeg7", "link_system_ffmpeg"], optional = true }
35-
36-
[target.'cfg(target_os = "macos")'.dependencies]
37-
rsmpeg = { version = "0.18.0", default-features = false, features = ["ffmpeg8", "link_system_ffmpeg"], optional = true }
34+
rsmpeg = { version = "0.17.0", default-features = false, features = ["ffmpeg7", "link_system_ffmpeg"], optional = true }
3835

3936
# Fallback for other platforms (FreeBSD, etc.)
40-
[target.'cfg(not(any(target_os = "linux", target_os = "windows", target_os = "macos")))'.dependencies]
37+
[target.'cfg(not(any(target_os = "linux", target_os = "windows")))'.dependencies]
4138
rsmpeg = { version = "0.18.0", default-features = false, features = ["ffmpeg8", "link_system_ffmpeg"], optional = true }
4239

4340
[build-dependencies]

0 commit comments

Comments
 (0)