[FFmpeg-cvslog] avformat/movenc: allow negative TS for the ipod muxer

Michael Niedermayer git at videolan.org
Thu Jul 4 23:15:32 CEST 2013


ffmpeg | branch: master | Michael Niedermayer <michaelni at gmx.at> | Thu Jul  4 23:09:32 2013 +0200| [65abce67b52c920d1f6f691a883ec787773916fd] | committer: Michael Niedermayer

avformat/movenc: allow negative TS for the ipod muxer

Fixes Ticket2708

Signed-off-by: Michael Niedermayer <michaelni at gmx.at>

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

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

diff --git a/libavformat/movenc.c b/libavformat/movenc.c
index 47d1cd7..3d4ce2d 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,
 };



More information about the ffmpeg-cvslog mailing list