[FFmpeg-devel] [PATCH] fate: add coverage for background disposal in gif decoder
Paul B Mahol
onemda at gmail.com
Fri Apr 5 01:13:25 CEST 2013
Signed-off-by: Paul B Mahol <onemda at gmail.com>
---
tests/fate/gif.mak | 3 +++
tests/ref/fate/gif-disposal-background | 6 ++++++
2 files changed, 9 insertions(+)
create mode 100644 tests/ref/fate/gif-disposal-background
diff --git a/tests/fate/gif.mak b/tests/fate/gif.mak
index 97b0545..42c204d 100644
--- a/tests/fate/gif.mak
+++ b/tests/fate/gif.mak
@@ -1,6 +1,9 @@
FATE_GIF += fate-gif-color
fate-gif-color: CMD = framecrc -i $(SAMPLES)/gif/tc217.gif -pix_fmt bgra
+FATE_GIF += fate-gif-disposal-background
+fate-gif-disposal-background: CMD = framecrc -i $(SAMPLES)/gif/m4nb.gif -pix_fmt bgra
+
FATE_GIF += fate-gif-disposal-restore
fate-gif-disposal-restore: CMD = framecrc -i $(SAMPLES)/gif/banner2.gif -pix_fmt bgra
diff --git a/tests/ref/fate/gif-disposal-background b/tests/ref/fate/gif-disposal-background
new file mode 100644
index 0000000..833d0ea
--- /dev/null
+++ b/tests/ref/fate/gif-disposal-background
@@ -0,0 +1,6 @@
+#tb 0: 1/100
+0, 0, 0, 1, 10368, 0x8b200cc8
+0, 50, 50, 1, 10368, 0x4e208e4f
+0, 100, 100, 1, 10368, 0x101cafe7
+0, 150, 150, 1, 10368, 0x3b7f7365
+0, 200, 200, 1, 10368, 0x192107d1
--
1.7.11.2
More information about the ffmpeg-devel
mailing list