diff mbox series

[FFmpeg-devel,1/7] tests/fate: add a test for APNG_DISPOSE_OP_BACKGROUND

Message ID 20210402144033.17410-1-anton@khirnov.net
State New
Headers show
Series [FFmpeg-devel,1/7] tests/fate: add a test for APNG_DISPOSE_OP_BACKGROUND
Related show

Checks

Context Check Description
andriy/x86_make success Make finished
andriy/x86_make_fate fail Make fate failed
andriy/PPC64_make success Make finished
andriy/PPC64_make_fate warning Make fate failed

Commit Message

Anton Khirnov April 2, 2021, 2:40 p.m. UTC
---
 tests/fate/apng.mak                    | 3 +++
 tests/ref/fate/apng-dispose-background | 8 ++++++++
 2 files changed, 11 insertions(+)
 create mode 100644 tests/ref/fate/apng-dispose-background

Comments

Anton Khirnov April 8, 2021, 8:44 a.m. UTC | #1
Could someone please upload
https://philip.html5.org/tests/apng/015.png -> /apng/015.png?

Thanks,
James Almer April 8, 2021, 1:31 p.m. UTC | #2
On 4/8/2021 5:44 AM, Anton Khirnov wrote:
> Could someone please upload
> https://philip.html5.org/tests/apng/015.png -> /apng/015.png?
> 
> Thanks,

Uploaded.
diff mbox series

Patch

diff --git a/tests/fate/apng.mak b/tests/fate/apng.mak
index 0a5f542f19..901fc0a10e 100644
--- a/tests/fate/apng.mak
+++ b/tests/fate/apng.mak
@@ -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
index 0000000000..41e6d0fe2a
--- /dev/null
+++ b/tests/ref/fate/apng-dispose-background
@@ -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