summaryrefslogtreecommitdiff
path: root/libavformat/tee.c
diff options
context:
space:
mode:
authorJan Ekström <jan.ekstrom@24i.com>2020-07-14 11:54:08 +0300
committerJan Ekström <jeebjp@gmail.com>2020-12-07 13:34:06 +0200
commit95fd790c14b034e8f6d75a5a20bbc1499d299d97 (patch)
tree166daf268554cfdb3ae2b9457753b8f518b1d22b /libavformat/tee.c
parent67bb11b5f6548c3b273b575f44077db19bb9a98e (diff)
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@24i.com>
Diffstat (limited to 'libavformat/tee.c')
-rw-r--r--libavformat/tee.c2
1 files changed, 1 insertions, 1 deletions
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,
};