[FFmpeg-cvslog] r15419 - trunk/libavformat/img2.c

michael subversion
Fri Sep 26 04:07:56 CEST 2008


Author: michael
Date: Fri Sep 26 04:07:56 2008
New Revision: 15419

Log:
Prevent image2 from complaining about non monotone timestamps as
there are no timestamps in "raw" image2.


Modified:
   trunk/libavformat/img2.c

Modified: trunk/libavformat/img2.c
==============================================================================
--- trunk/libavformat/img2.c	(original)
+++ trunk/libavformat/img2.c	Fri Sep 26 04:07:56 2008
@@ -409,7 +409,7 @@ AVOutputFormat image2_muxer = {
     img_write_header,
     img_write_packet,
     NULL,
-    AVFMT_NOFILE,
+    .flags= AVFMT_NOTIMESTAMPS | AVFMT_NOFILE
 };
 #endif
 #ifdef CONFIG_IMAGE2PIPE_MUXER
@@ -423,5 +423,6 @@ AVOutputFormat image2pipe_muxer = {
     CODEC_ID_MJPEG,
     img_write_header,
     img_write_packet,
+    .flags= AVFMT_NOTIMESTAMPS
 };
 #endif




More information about the ffmpeg-cvslog mailing list