[FFmpeg-cvslog] avformat/tee: allow packets with negative timestamps

Jan Ekström git at videolan.org
Mon Dec 7 13:35:00 EET 2020


ffmpeg | branch: master | Jan Ekström <jan.ekstrom at 24i.com> | Tue Jul 14 11:54:08 2020 +0300| [95fd790c14b034e8f6d75a5a20bbc1499d299d97] | committer: Jan Ekström

avformat/tee: allow packets with negative timestamps

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 at 24i.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=95fd790c14b034e8f6d75a5a20bbc1499d299d97
---

 libavformat/tee.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/libavformat/tee.c b/libavformat/tee.c
index c5c59975e6..c0b69a386c 100644
--- a/libavformat/tee.c
+++ b/libavformat/tee.c
@@ -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,
 };



More information about the ffmpeg-cvslog mailing list