提交 b7665642 编写于 作者: F Felipe Astroza 提交者: Michael Niedermayer

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: NFelipe Astroza <felipe@astroza.cl>
Signed-off-by: NMichael Niedermayer <michael@niedermayer.cc>
上级 9ea29985
......@@ -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;
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册