changeset 3940:77f3d0224ee9 libavformat

Prevent image2 from complaining about non monotone timestamps as there are no timestamps in "raw" image2.
author michael
date Fri, 26 Sep 2008 02:07:56 +0000
parents 20da3b0e6adf
children 53c5b89b8dff
files img2.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/img2.c	Wed Sep 24 23:40:55 2008 +0000
+++ b/img2.c	Fri Sep 26 02:07:56 2008 +0000
@@ -409,7 +409,7 @@
     img_write_header,
     img_write_packet,
     NULL,
-    AVFMT_NOFILE,
+    .flags= AVFMT_NOTIMESTAMPS | AVFMT_NOFILE
 };
 #endif
 #ifdef CONFIG_IMAGE2PIPE_MUXER
@@ -423,5 +423,6 @@
     CODEC_ID_MJPEG,
     img_write_header,
     img_write_packet,
+    .flags= AVFMT_NOTIMESTAMPS
 };
 #endif