diff options
author | Ronald S. Bultje <rsbultje@gmail.com> | 2015-09-05 07:11:28 -0400 |
---|---|---|
committer | Ronald S. Bultje <rsbultje@gmail.com> | 2015-09-06 15:07:19 -0400 |
commit | a02e27c03d3ce244472b5ab040b9a27c8dd21bee (patch) | |
tree | f065f098f6062cb8ef144d3561f19edfb176bccd | |
parent | 63974bd494c679e898b394a3b46500eb2685e293 (diff) | |
download | ffmpeg-a02e27c03d3ce244472b5ab040b9a27c8dd21bee.tar.gz |
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".
-rw-r--r-- | libavformat/md5enc.c | 3 |
1 files changed, 2 insertions, 1 deletions
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 |