aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPaul B Mahol <onemda@gmail.com>2013-02-25 08:53:12 +0000
committerPaul B Mahol <onemda@gmail.com>2013-04-06 11:20:27 +0000
commit11d7bbb47a1e8109aef90f62eb63ce0039f23340 (patch)
tree8df8b7cd2b75aed275a52c5c86f3cdf40a332934
parent7775992c65e50c13272d828560532430eb926a05 (diff)
downloadffmpeg-11d7bbb47a1e8109aef90f62eb63ce0039f23340.tar.gz
fate: add coverage for background disposal in gif decoder
Signed-off-by: Paul B Mahol <onemda@gmail.com>
-rw-r--r--tests/fate/gif.mak3
-rw-r--r--tests/ref/fate/gif-disposal-background6
2 files changed, 9 insertions, 0 deletions
diff --git a/tests/fate/gif.mak b/tests/fate/gif.mak
index 97b0545381..722bd6e18f 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 -trans_color 0 -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 0000000000..dbfaa48f62
--- /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, 0x044dba8b
+0, 150, 150, 1, 10368, 0x1d617e09
+0, 200, 200, 1, 10368, 0xae38a6d2