[FFmpeg-cvslog] r25805 - trunk/libavformat/movenc.c

bcoudurier subversion
Tue Nov 23 01:41:29 CET 2010


Author: bcoudurier
Date: Tue Nov 23 01:41:28 2010
New Revision: 25805

Log:
Unset variable fps for mov and mp4 muxer, they support it
but timestamps must start at 0 currently, and this causes sync
problem.

Modified:
   trunk/libavformat/movenc.c

Modified: trunk/libavformat/movenc.c
==============================================================================
--- trunk/libavformat/movenc.c	Mon Nov 22 23:09:26 2010	(r25804)
+++ trunk/libavformat/movenc.c	Tue Nov 23 01:41:28 2010	(r25805)
@@ -2215,7 +2215,7 @@ AVOutputFormat mov_muxer = {
     mov_write_header,
     ff_mov_write_packet,
     mov_write_trailer,
-    .flags = AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS,
+    .flags = AVFMT_GLOBALHEADER,
     .codec_tag = (const AVCodecTag* const []){codec_movvideo_tags, codec_movaudio_tags, 0},
 };
 #endif
@@ -2247,7 +2247,7 @@ AVOutputFormat mp4_muxer = {
     mov_write_header,
     ff_mov_write_packet,
     mov_write_trailer,
-    .flags = AVFMT_GLOBALHEADER | AVFMT_VARIABLE_FPS,
+    .flags = AVFMT_GLOBALHEADER,
     .codec_tag = (const AVCodecTag* const []){ff_mp4_obj_type, 0},
 };
 #endif



More information about the ffmpeg-cvslog mailing list