aboutsummaryrefslogtreecommitdiffstats
path: root/libavformat
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-11-20 12:45:36 +0100
committerAnton Khirnov <anton@khirnov.net>2011-11-23 21:43:46 +0100
commit0844b57c11cc3a1d5320c34f81f66d30f6706d2c (patch)
tree2cd0966cf4df528c665f10a525052fdbeb50076d /libavformat
parente1edfbcb240cace69d92701e6910c2b03555b7d7 (diff)
downloadffmpeg-0844b57c11cc3a1d5320c34f81f66d30f6706d2c.tar.gz
crcenc: add flags
AVFMT_NOTIMESTAMPS for crc, as it ignores the timestamps. AVFMT_VARIABLE_FPS for framecrc, as it prints dts. Many FATE changes, because avconv is no longer duplicating frames in those tests. Also added -vsync 0 for some tests to prevent avconv from dropping frames until it can be fixed more properly.
Diffstat (limited to 'libavformat')
-rw-r--r--libavformat/crcenc.c1
-rw-r--r--libavformat/framecrcenc.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/libavformat/crcenc.c b/libavformat/crcenc.c
index ae688e4f07..c67fd09960 100644
--- a/libavformat/crcenc.c
+++ b/libavformat/crcenc.c
@@ -64,4 +64,5 @@ AVOutputFormat ff_crc_muxer = {
.write_header = crc_write_header,
.write_packet = crc_write_packet,
.write_trailer = crc_write_trailer,
+ .flags = AVFMT_NOTIMESTAMPS,
};
diff --git a/libavformat/framecrcenc.c b/libavformat/framecrcenc.c
index f87562025c..d845e79c41 100644
--- a/libavformat/framecrcenc.c
+++ b/libavformat/framecrcenc.c
@@ -40,4 +40,5 @@ AVOutputFormat ff_framecrc_muxer = {
.audio_codec = CODEC_ID_PCM_S16LE,
.video_codec = CODEC_ID_RAWVIDEO,
.write_packet = framecrc_write_packet,
+ .flags = AVFMT_VARIABLE_FPS,
};