aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Ross <pross@xvid.org>2022-11-04 16:48:23 +1100
committerPeter Ross <pross@xvid.org>2022-11-07 16:08:35 +1100
commit99499125ed7335f1779dc92946a16bc4b479b434 (patch)
tree6348030634b52cb1563f494c9cbdf23132df1a96
parentdc4d3429e1b3d162b04372eace67156b52305164 (diff)
downloadffmpeg-99499125ed7335f1779dc92946a16bc4b479b434.tar.gz
fate/microsoft: add mss2 region test case
-rw-r--r--tests/fate/microsoft.mak3
-rw-r--r--tests/ref/fate/mss2-region7
2 files changed, 9 insertions, 1 deletions
diff --git a/tests/fate/microsoft.mak b/tests/fate/microsoft.mak
index ee1a062425..e98ab30aae 100644
--- a/tests/fate/microsoft.mak
+++ b/tests/fate/microsoft.mak
@@ -14,8 +14,9 @@ FATE_MSS2-$(call FRAMECRC, ASF, MSS2, SCALE_FILTER) += fate-mss2-rgb555 fate-mss
fate-mss2-rgb555: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/rle555.wmv -pix_fmt rgb555le -vf scale
fate-mss2-rgb555s: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/rle555s.wmv -pix_fmt rgb555le -vf scale
-FATE_MSS2 += fate-mss2-wmv
+FATE_MSS2 += fate-mss2-wmv fate-mss2-region
fate-mss2-wmv: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/msscreencodec.wmv -an -frames 100
+fate-mss2-region: CMD = framecrc -i $(TARGET_SAMPLES)/mss2/mss2_2.wmv -an
FATE_MSS2-$(call FRAMECRC, ASF, MSS2) += $(FATE_MSS2)
diff --git a/tests/ref/fate/mss2-region b/tests/ref/fate/mss2-region
new file mode 100644
index 0000000000..c0a99f3e1f
--- /dev/null
+++ b/tests/ref/fate/mss2-region
@@ -0,0 +1,7 @@
+#tb 0: 1/1000
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 160x120
+#sar 0: 0/1
+0, 0, 0, 1, 57600, 0x51bc82a3
+0, 3000, 3000, 1, 57600, 0x51bc82a3