mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2024-11-26 19:01:44 +02:00
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>
This commit is contained in:
parent
9ea2998586
commit
b7665642f1
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user