We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d9fe468 commit 42359aeCopy full SHA for 42359ae
1 file changed
crates/media-sort-backend/src/media/mpv_context.rs
@@ -34,6 +34,11 @@ impl MpvContext {
34
let hwdec = CString::new("auto").unwrap();
35
mpv_set_option_string(handle, b"hwdec\0".as_ptr() as *const c_char, hwdec.as_ptr());
36
37
+ let no = CString::new("no").unwrap();
38
+ mpv_set_option_string(handle, b"sub-auto\0".as_ptr() as *const c_char, no.as_ptr());
39
+ mpv_set_option_string(handle, b"audio-file-auto\0".as_ptr() as *const c_char, no.as_ptr());
40
+ mpv_set_option_string(handle, b"cache\0".as_ptr() as *const c_char, no.as_ptr());
41
+
42
let err = mpv_initialize(handle);
43
if err < 0 {
44
mpv_terminate_destroy(handle);
0 commit comments