]> git.sesse.net Git - ffmpeg/commitdiff
avformat/tee: allow packets with negative timestamps
authorJan Ekström <jan.ekstrom@24i.com>
Tue, 14 Jul 2020 08:54:08 +0000 (11:54 +0300)
committerJan Ekström <jeebjp@gmail.com>
Mon, 7 Dec 2020 11:34:06 +0000 (13:34 +0200)
As this is a meta muxer and the same flag is set with the fifo
meta muxer, there is really no reason not to have this set here
as well.

Signed-off-by: Jan Ekström <jan.ekstrom@24i.com>
libavformat/tee.c

index c5c59975e6b43f79b0319c00bfa57c86b4bbf5ae..c0b69a386c65dcc7e5f08e77ad60e251f066609b 100644 (file)
@@ -614,5 +614,5 @@ AVOutputFormat ff_tee_muxer = {
     .write_trailer     = tee_write_trailer,
     .write_packet      = tee_write_packet,
     .priv_class        = &tee_muxer_class,
-    .flags             = AVFMT_NOFILE | AVFMT_ALLOW_FLUSH,
+    .flags             = AVFMT_NOFILE | AVFMT_ALLOW_FLUSH | AVFMT_TS_NEGATIVE,
 };