@@ -14,8 +14,6 @@ crate-type = ["staticlib"]
14
14
log = " 0.4.26"
15
15
env_logger = " 0.8.4"
16
16
palette = " 0.6.1"
17
- # Default rsmpeg for macOS and other platforms (FFmpeg 8.0)
18
- rsmpeg = { version = " =0.18.0" , default-features = false , features = [" ffmpeg8" , " link_system_ffmpeg" ], optional = true }
19
17
tesseract-sys = { version = " 0.5.15" , optional = true , default-features = false }
20
18
leptonica-sys = { version = " = 0.4.6" , optional = true , default-features = false }
21
19
clap = { version = " 4.5.31" , features = [" derive" ] }
@@ -28,13 +26,16 @@ lib_ccxr = { path = "lib_ccxr" }
28
26
url = " 2.5.4"
29
27
encoding_rs = " 0.8.5"
30
28
31
- # Platform-specific rsmpeg configurations (overrides default)
32
- # Linux uses FFmpeg 6.1, Windows uses FFmpeg 7.1
29
+ # Platform-specific rsmpeg configurations
30
+ # Each platform gets only its specific version
33
31
[target .'cfg(target_os = "linux")' .dependencies ]
34
- rsmpeg = { version = " =0.14.2" , features = [" ffmpeg6" , " link_system_ffmpeg" ], optional = true }
32
+ rsmpeg = { version = " =0.14.2" , default-features = false , features = [" link_system_ffmpeg" ], optional = true }
33
+
34
+ [target .'cfg(target_os = "macos")' .dependencies ]
35
+ rsmpeg = { version = " =0.18.0" , default-features = false , features = [" link_system_ffmpeg" ], optional = true }
35
36
36
37
[target .'cfg(windows)' .dependencies ]
37
- rsmpeg = { version = " =0.17.0" , features = [ " ffmpeg7_1 " , " link_system_ffmpeg" ], optional = true }
38
+ rsmpeg = { version = " =0.17.0" , default- features = false , features = [ " link_system_ffmpeg" ], optional = true }
38
39
39
40
[build-dependencies ]
40
41
bindgen = " 0.64.0"
0 commit comments