aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZhao Zhili <zhilizhao@tencent.com>2023-10-08 21:17:01 +0800
committerZhao Zhili <zhilizhao@tencent.com>2023-10-18 23:01:51 +0800
commitade0612cfbd93274afc132c717af63ee617cddcd (patch)
tree228d4fd72b2e80536eb866c545f959039971ffd2
parent721857483f3410cd96e5ec2ec78dade65db83f20 (diff)
downloadffmpeg-ade0612cfbd93274afc132c717af63ee617cddcd.tar.gz
fate/screen: workaround test failure on mac M1
The last frame is corrupted. It has different results on different platform. Signed-off-by: Zhao Zhili <zhilizhao@tencent.com>
-rw-r--r--tests/fate/screen.mak3
-rw-r--r--tests/ref/fate/zmbv-8bit1
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/fate/screen.mak b/tests/fate/screen.mak
index bd6d228544..1c92935d23 100644
--- a/tests/fate/screen.mak
+++ b/tests/fate/screen.mak
@@ -117,7 +117,8 @@ FATE_SCREEN += $(FATE_VMNC-yes)
fate-vmnc: $(FATE_VMNC-yes)
FATE_ZMBV += fate-zmbv-8bit
-fate-zmbv-8bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/wc2_001-partial.avi -an -pix_fmt rgb24 -vf scale
+# The last frame is corrupted.
+fate-zmbv-8bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/wc2_001-partial.avi -an -frames:v 275 -pix_fmt rgb24 -vf scale
FATE_ZMBV += fate-zmbv-15bit
fate-zmbv-15bit: CMD = framecrc -i $(TARGET_SAMPLES)/zmbv/zmbv_15bit.avi -pix_fmt rgb24 -t 25 -vf scale
diff --git a/tests/ref/fate/zmbv-8bit b/tests/ref/fate/zmbv-8bit
index 7c2fab691f..9a7c96cb32 100644
--- a/tests/ref/fate/zmbv-8bit
+++ b/tests/ref/fate/zmbv-8bit
@@ -278,4 +278,3 @@
0, 272, 272, 1, 192000, 0xd08e49d1
0, 273, 273, 1, 192000, 0xd08e49d1
0, 274, 274, 1, 192000, 0xd08e49d1
-0, 275, 275, 1, 192000, 0x1f34135f