From 65abce67b52c920d1f6f691a883ec787773916fd Mon Sep 17 00:00:00 2001 From: Michael Niedermayer Date: Thu, 4 Jul 2013 23:09:32 +0200 Subject: [PATCH] avformat/movenc: allow negative TS for the ipod muxer Fixes Ticket2708 Signed-off-by: Michael Niedermayer --- libavformat/movenc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/libavformat/movenc.c b/libavformat/movenc.c index 47d1cd79c6..3d4ce2dcd3 100644 --- a/libavformat/movenc.c +++ b/libavformat/movenc.c @@ -4070,7 +4070,7 @@ AVOutputFormat ff_ipod_muxer = { .write_header = mov_write_header, .write_packet = mov_write_packet, .write_trailer = mov_write_trailer, - .flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH, + .flags = AVFMT_GLOBALHEADER | AVFMT_ALLOW_FLUSH | AVFMT_TS_NEGATIVE, .codec_tag = (const AVCodecTag* const []){ codec_ipod_tags, 0 }, .priv_class = &ipod_muxer_class, };