2017-04-19 19:47:41 +00:00
|
|
|
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(+)
|
|
|
|
|
2019-09-22 21:29:12 +00:00
|
|
|
diff --git a/plugins/obs-ffmpeg/obs-ffmpeg-mux.c b/plugins/obs-ffmpeg/obs-ffmpeg-mux.c
|
2020-10-01 20:29:31 +00:00
|
|
|
index 73ed76a..fbcb3df 100644
|
2017-04-19 19:47:41 +00:00
|
|
|
--- a/plugins/obs-ffmpeg/obs-ffmpeg-mux.c
|
|
|
|
+++ b/plugins/obs-ffmpeg/obs-ffmpeg-mux.c
|
2020-10-01 20:29:31 +00:00
|
|
|
@@ -270,7 +270,11 @@ static void build_command_line(struct ffmpeg_muxer *stream, struct dstr *cmd,
|
2017-04-19 19:47:41 +00:00
|
|
|
num_tracks++;
|
|
|
|
}
|
|
|
|
|
|
|
|
+#ifdef FFMPEG_MUX_FIXED
|
|
|
|
+ dstr_init_copy(cmd, FFMPEG_MUX_FIXED);
|
|
|
|
+#else
|
2019-07-27 13:19:10 +00:00
|
|
|
dstr_init_move_array(cmd, os_get_executable_path_ptr(FFMPEG_MUX));
|
2017-04-19 19:47:41 +00:00
|
|
|
+#endif
|
|
|
|
dstr_insert_ch(cmd, 0, '\"');
|
|
|
|
dstr_cat(cmd, "\" \"");
|
|
|
|
|