]> git.sesse.net Git - ffmpeg/commitdiff
tests/fate: add a test for APNG_DISPOSE_OP_BACKGROUND
authorAnton Khirnov <anton@khirnov.net>
Fri, 2 Apr 2021 08:27:13 +0000 (10:27 +0200)
committerAnton Khirnov <anton@khirnov.net>
Sat, 24 Apr 2021 11:02:54 +0000 (13:02 +0200)
tests/fate/apng.mak
tests/ref/fate/apng-dispose-background [new file with mode: 0644]

index 0a5f542f19eb8c76d00e888377a69005e5fb049f..901fc0a10edc6cb4a6ccb9aa808eb8d4af969414 100644 (file)
@@ -7,6 +7,9 @@ fate-apng-osample: CMD = framecrc -i $(TARGET_SAMPLES)/apng/o_sample.png
 FATE_APNG += fate-apng-dispose-previous
 fate-apng-dispose-previous: CMD = framecrc -i $(TARGET_SAMPLES)/apng/apng_out_of_order_frames.png
 
+FATE_APNG += fate-apng-dispose-background
+fate-apng-dispose-background: CMD = framecrc -i $(TARGET_SAMPLES)/apng/015.png
+
 FATE_APNG-$(call DEMDEC, APNG, APNG) += $(FATE_APNG)
 
 FATE_SAMPLES_FFMPEG += $(FATE_APNG-yes)
diff --git a/tests/ref/fate/apng-dispose-background b/tests/ref/fate/apng-dispose-background
new file mode 100644 (file)
index 0000000..41e6d0f
--- /dev/null
@@ -0,0 +1,8 @@
+#tb 0: 1/10
+#media_type 0: video
+#codec_id 0: rawvideo
+#dimensions 0: 128x64
+#sar 0: 0/1
+0,          0,          0,        1,    32768, 0x2d11c3b1
+0,          1,          1,        1,    32768, 0x2d11c3b1
+0,          2,          2,        1,    32768, 0x6d15d2c1