aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michael@niedermayer.cc>2016-09-20 05:21:51 +0200
committerMichael Niedermayer <michael@niedermayer.cc>2016-09-20 13:37:25 +0200
commite048b46f14d655d489ca8d3869afc0b67802dc49 (patch)
tree53b62434c0e8ab367a59b74d0aecbfcbbccac3e8
parent11777eb8142117864bff0c8060f17b4089434143 (diff)
downloadffmpeg-e048b46f14d655d489ca8d3869afc0b67802dc49.tar.gz
fate: Add rgb24-mkv test
-rw-r--r--tests/fate/ffmpeg.mak6
-rw-r--r--tests/ref/fate/rgb24-mkv8
2 files changed, 14 insertions, 0 deletions
diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak
index 7bad2e5dc4..42f0776f50 100644
--- a/tests/fate/ffmpeg.mak
+++ b/tests/fate/ffmpeg.mak
@@ -79,4 +79,10 @@ fate-limited_input_seek-copyts: CMD = md5 -ss 1.5 -t 1.3 -i $(TARGET_SAMPLES)/vo
fate-streamcopy: $(FATE_STREAMCOPY-yes)
+FATE_SAMPLES_FFMPEG-$(call ALLYES, MOV_DEMUXER MATROSKA_MUXER) += fate-rgb24-mkv
+fate-rgb24-mkv: $(TARGET_SAMPLES)/qtrle/aletrek-rle.mov
+fate-rgb24-mkv: CMD = transcode "mov" $(TARGET_SAMPLES)/qtrle/aletrek-rle.mov\
+ matroska "-vcodec rawvideo -pix_fmt rgb24 -allow_raw_vfw 1 -vframes 1"
+
+
FATE_SAMPLES_FFMPEG-yes += $(FATE_STREAMCOPY-yes)
diff --git a/tests/ref/fate/rgb24-mkv b/tests/ref/fate/rgb24-mkv
new file mode 100644
index 0000000000..8f4b03df14
--- /dev/null
+++ b/tests/ref/fate/rgb24-mkv
@@ -0,0 +1,8 @@
+4765774ab65412c9b7565b1b4da82998 *tests/data/fate/rgb24-mkv.matroska
+58321 tests/data/fate/rgb24-mkv.matroska
+#tb 0: 1/10
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 160x120
+#sar 0: 1/1
+0, 0, 0, 1, 57600, 0x3718ad00