lavf/tee: pass options to protocol.

Fix trac ticket #8705.
This commit is contained in:
Nicolas George 2020-06-02 20:55:30 +02:00
parent b6d7c4c1d4
commit a45be55d5b

View File

@ -295,7 +295,7 @@ static int open_slave(AVFormatContext *avf, char *slave, TeeSlave *tee_slave)
goto end;
}
ret = ff_format_output_open(avf2, filename, NULL);
ret = ff_format_output_open(avf2, filename, &options);
if (ret < 0) {
av_log(avf, AV_LOG_ERROR, "Slave '%s': error opening: %s\n", slave,
av_err2str(ret));