aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat/md5enc.c
diff options
context:
space:
mode:
authorRonald S. Bultje <rsbultje@gmail.com>2015-09-05 07:11:28 -0400
committerRonald S. Bultje <rsbultje@gmail.com>2015-09-06 15:07:19 -0400
commita02e27c03d3ce244472b5ab040b9a27c8dd21bee (patch)
treef065f098f6062cb8ef144d3561f19edfb176bccd /libavformat/md5enc.c
parent63974bd494c679e898b394a3b46500eb2685e293 (diff)
downloadffmpeg-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".
Diffstat (limited to 'libavformat/md5enc.c')
-rw-r--r--libavformat/md5enc.c3
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