aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2013-03-24 01:30:11 +0100
committerMichael Niedermayer <michaelni@gmx.at>2013-03-24 01:30:11 +0100
commit7239b36059b5226dc8f7597a7ddcb9c5b58349e6 (patch)
treebdcbd218fd77988734557420aa0253e453adac0c
parent62f56fd7eae03b70e106a66bc8e2dac178d8738d (diff)
downloadffmpeg-7239b36059b5226dc8f7597a7ddcb9c5b58349e6.tar.gz
fate: dont try to filter partial frames with yadif.
The partial frames leak a few uninitialized pixels through due to incomplete interlaced error concealment support. Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
-rw-r--r--tests/fate/filter.mak4
-rw-r--r--tests/ref/fate/filter-yadif-mode01
-rw-r--r--tests/ref/fate/filter-yadif-mode13
3 files changed, 2 insertions, 6 deletions
diff --git a/tests/fate/filter.mak b/tests/fate/filter.mak
index bf415031ce..c3569adc95 100644
--- a/tests/fate/filter.mak
+++ b/tests/fate/filter.mak
@@ -37,10 +37,10 @@ fate-filter-delogo: CMD = framecrc -i $(SAMPLES)/real/rv30.rm -vf perms=random,d
FATE_FILTER-$(call ALLYES, PERMS_FILTER DELOGO_FILTER) += fate-filter-delogo
FATE_YADIF += fate-filter-yadif-mode0
-fate-filter-yadif-mode0: CMD = framecrc -flags bitexact -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=0
+fate-filter-yadif-mode0: CMD = framecrc -flags bitexact -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vframes 30 -vf yadif=0
FATE_YADIF += fate-filter-yadif-mode1
-fate-filter-yadif-mode1: CMD = framecrc -flags bitexact -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vf yadif=1
+fate-filter-yadif-mode1: CMD = framecrc -flags bitexact -idct simple -i $(SAMPLES)/mpeg2/mpeg2_field_encoding.ts -vframes 59 -vf yadif=1
FATE_FILTER-$(CONFIG_YADIF_FILTER) += $(FATE_YADIF)
diff --git a/tests/ref/fate/filter-yadif-mode0 b/tests/ref/fate/filter-yadif-mode0
index 162ba96ac1..4d428903b0 100644
--- a/tests/ref/fate/filter-yadif-mode0
+++ b/tests/ref/fate/filter-yadif-mode0
@@ -29,4 +29,3 @@
0, 36, 36, 1, 622080, 0x58afbd5e
0, 37, 37, 1, 622080, 0xb972f716
0, 38, 38, 1, 622080, 0x6a6df129
-0, 39, 39, 1, 622080, 0x28b1373d
diff --git a/tests/ref/fate/filter-yadif-mode1 b/tests/ref/fate/filter-yadif-mode1
index f1f513ef3c..08cd518570 100644
--- a/tests/ref/fate/filter-yadif-mode1
+++ b/tests/ref/fate/filter-yadif-mode1
@@ -58,6 +58,3 @@
0, 74, 74, 1, 622080, 0xb972f716
0, 75, 75, 1, 622080, 0xbb5d01a2
0, 76, 76, 1, 622080, 0x6a6df129
-0, 77, 77, 1, 622080, 0x9e45371e
-0, 78, 78, 1, 622080, 0x28b1373d
-0, 79, 79, 1, 622080, 0xa1cdb1f2