diff options
author | Felipe Astroza <felipe@astroza.cl> | 2017-01-23 14:55:31 -0300 |
---|---|---|
committer | Michael Niedermayer <michael@niedermayer.cc> | 2017-01-24 02:36:51 +0100 |
commit | b7665642f18a953ad4aecccb9af239070bf448f3 (patch) | |
tree | 1ec4ba5f98e6c5204843333f32a55186f8bb519b /libavformat | |
parent | 9ea29985865720c24f6e7ac213a7dc597f1f0453 (diff) | |
download | ffmpeg-b7665642f18a953ad4aecccb9af239070bf448f3.tar.gz |
libavformat/tee: tee was passing a wrong option name for fifo's format_options
If fifo is enabled on tee muxer, ffmpeg exits because of an unknown option passed to fifo muxer.
Option name "format_options" was replaced by "format_opts" on tee muxer.
Signed-off-by: Felipe Astroza <felipe@astroza.cl>
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/tee.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libavformat/tee.c b/libavformat/tee.c index 99259a7dd5..dd1844ac0e 100644 --- a/libavformat/tee.c +++ b/libavformat/tee.c @@ -208,7 +208,7 @@ static int open_slave(AVFormatContext *avf, char *slave, TeeSlave *tee_slave) if (ret < 0) goto end; - ret = av_dict_set(&tee_slave->fifo_options, "format_options", format_options_str, + ret = av_dict_set(&tee_slave->fifo_options, "format_opts", format_options_str, AV_DICT_DONT_STRDUP_VAL); if (ret < 0) goto end; |