From a02e27c03d3ce244472b5ab040b9a27c8dd21bee Mon Sep 17 00:00:00 2001 From: "Ronald S. Bultje" Date: Sat, 5 Sep 2015 07:11:28 -0400 Subject: [PATCH] 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". --- libavformat/md5enc.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/libavformat/md5enc.c b/libavformat/md5enc.c index 8e87f095c9..e1a53684b6 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