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".
This commit is contained in:
Ronald S. Bultje 2015-09-05 07:11:28 -04:00
parent 63974bd494
commit a02e27c03d
1 changed files with 2 additions and 1 deletions

View File

@ -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