[FFmpeg-cvslog] md5: change flags to match framemd5.

Ronald S. Bultje git at videolan.org
Sun Sep 6 21:07:41 CEST 2015


ffmpeg | branch: master | Ronald S. Bultje <rsbultje at gmail.com> | Sat Sep  5 07:11:28 2015 -0400| [a02e27c03d3ce244472b5ab040b9a27c8dd21bee] | committer: Ronald S. Bultje

md5: change flags to match framemd5.

This prevents the following warning: "Application provided invalid, non
monotonically increasing dts to muxer in stream 0: 9 >= 9".

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

 libavformat/md5enc.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/libavformat/md5enc.c b/libavformat/md5enc.c
index 8e87f09..e1a5368 100644
--- a/libavformat/md5enc.c
+++ b/libavformat/md5enc.c
@@ -107,7 +107,8 @@ AVOutputFormat ff_md5_muxer = {
     .write_header      = write_header,
     .write_packet      = write_packet,
     .write_trailer     = write_trailer,
-    .flags             = AVFMT_NOTIMESTAMPS,
+    .flags             = AVFMT_VARIABLE_FPS | AVFMT_TS_NONSTRICT |
+                         AVFMT_TS_NEGATIVE,
     .priv_class        = &md5enc_class,
 };
 #endif



More information about the ffmpeg-cvslog mailing list