diff mbox series

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

Message ID 20201207101237.18164-1-jeebjp@gmail.com
State Accepted
Commit 95fd790c14b034e8f6d75a5a20bbc1499d299d97
Headers show
Series [FFmpeg-devel] avformat/tee: allow mux packets with negative timestamps
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate success Make fate finished

Commit Message

Jan Ekström Dec. 7, 2020, 10:12 a.m. UTC
From: Jan Ekström <jan.ekstrom@24i.com>

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 | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Nicolas George Dec. 7, 2020, 10:13 a.m. UTC | #1
Jan Ekström (12020-12-07):
> From: Jan Ekström <jan.ekstrom@24i.com>
> 
> 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 | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)

No objection.

Regards,
Jan Ekström Dec. 7, 2020, 11:35 a.m. UTC | #2
On Mon, Dec 7, 2020 at 12:14 PM Nicolas George <george@nsup.org> wrote:
>
> Jan Ekström (12020-12-07):
> > From: Jan Ekström <jan.ekstrom@24i.com>
> >
> > 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 | 2 +-
> >  1 file changed, 1 insertion(+), 1 deletion(-)
>
> No objection.
>

Cheers, applied as 95fd790c14b034e8f6d75a5a20bbc1499d299d97 .

Jan
diff mbox series

Patch

diff --git a/libavformat/tee.c b/libavformat/tee.c
index c5c59975e6b..c0b69a386c6 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,
 };