yolobs-studio/debian/patches/0003-Use-path-in-usr-lib.patch
Simon Chopin 53176e97fa Refresh the use-path-in-usr-lib patch and the exec name and location
Upstream has decided to now ship the ffmpeg-mux executable as a binary
in /usr/bin. In order to keep the -plugins package Multiarch: Same, we
still need to ship it in /usr/lib/x86_64, although we now use the new
name to not diverge too much from upstream.
2019-07-28 20:31:41 +02:00

22 lines
539 B
Diff

From: Sebastian Ramacher <sramacher@debian.org>
Date: Wed, 19 Apr 2017 21:45:52 +0200
Subject: Use path in /usr/lib
---
plugins/obs-ffmpeg/obs-ffmpeg-mux.c | 4 ++++
1 file changed, 4 insertions(+)
--- a/plugins/obs-ffmpeg/obs-ffmpeg-mux.c
+++ b/plugins/obs-ffmpeg/obs-ffmpeg-mux.c
@@ -237,7 +237,11 @@
num_tracks++;
}
+#ifdef FFMPEG_MUX_FIXED
+ dstr_init_copy(cmd, FFMPEG_MUX_FIXED);
+#else
dstr_init_move_array(cmd, os_get_executable_path_ptr(FFMPEG_MUX));
+#endif
dstr_insert_ch(cmd, 0, '\"');
dstr_cat(cmd, "\" \"");