yolobs-studio/debian/patches/0003-override-path.patch
2016-02-24 01:11:49 +01:00

19 lines
501 B
Diff

Description: Override path for ffmpeg-mux
Author: Sebastian Ramacher <sramacher@debian.org>
Forwarded: not-needed
Last-Update: 2016-02-24
--- a/plugins/obs-ffmpeg/obs-ffmpeg-mux.c
+++ b/plugins/obs-ffmpeg/obs-ffmpeg-mux.c
@@ -175,7 +175,11 @@
num_tracks++;
}
+#ifdef FFMPEG_MUX_FIXED
+ dstr_init_copy(cmd, FFMPEG_MUX_FIXED);
+#else
dstr_init_move_array(cmd, obs_module_file(FFMPEG_MUX));
+#endif
dstr_insert_ch(cmd, 0, '\"');
dstr_cat(cmd, "\" \"");
dstr_cat_dstr(cmd, &stream->path);