diff options
author | Anton Khirnov <anton@khirnov.net> | 2011-11-20 15:45:36 +0400 |
---|---|---|
committer | Anton Khirnov <anton@khirnov.net> | 2011-11-23 23:19:26 +0400 |
commit | 50efd3cad8b2a77d98b9e6b6637ef70fe70c6681 (patch) | |
tree | d5906877140ea3578f2ff6e9a4f48245c20cd6bf /libavformat | |
parent | 3a0b72dee0d92470cd8bd986dd419e387c7cf5ec (diff) |
md5enc: add flags
AVFMT_NOTIMESTAMPS for md5, as it ignores the timestamps.
AVFMT_VARIABLE_FPS for framemd5, as it prints dts.
-vsync 0 for the vp8 test is needed because with vsync 2 the timestamp
guessing code gets confused by an altref frame that is never displayed
and drops a frame later.
Diffstat (limited to 'libavformat')
-rw-r--r-- | libavformat/md5enc.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/md5enc.c b/libavformat/md5enc.c index dc8919a8c8..4509c18e84 100644 --- a/libavformat/md5enc.c +++ b/libavformat/md5enc.c @@ -75,6 +75,7 @@ AVOutputFormat ff_md5_muxer = { .write_header = write_header, .write_packet = write_packet, .write_trailer = write_trailer, + .flags = AVFMT_NOTIMESTAMPS, }; #endif @@ -102,5 +103,6 @@ AVOutputFormat ff_framemd5_muxer = { .audio_codec = CODEC_ID_PCM_S16LE, .video_codec = CODEC_ID_RAWVIDEO, .write_packet = framemd5_write_packet, + .flags = AVFMT_VARIABLE_FPS, }; #endif |