]> git.sesse.net Git - ffmpeg/commitdiff
lavf/tee: pass options to protocol.
authorNicolas George <george@nsup.org>
Tue, 2 Jun 2020 18:55:30 +0000 (20:55 +0200)
committerNicolas George <george@nsup.org>
Thu, 4 Jun 2020 08:52:42 +0000 (10:52 +0200)
Fix trac ticket #8705.

libavformat/tee.c

index f2b11fcb359afcf5198fc7eefe5e6483170473d6..c5c59975e6b43f79b0319c00bfa57c86b4bbf5ae 100644 (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));