Permalink
Browse files

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>
  • Loading branch information...
1 parent 62f56fd commit 7239b36059b5226dc8f7597a7ddcb9c5b58349e6 @michaelni michaelni committed Mar 24, 2013
Showing with 2 additions and 6 deletions.
  1. +2 −2 tests/fate/filter.mak
  2. +0 −1 tests/ref/fate/filter-yadif-mode0
  3. +0 −3 tests/ref/fate/filter-yadif-mode1
View
@@ -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)
@@ -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
@@ -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

0 comments on commit 7239b36

Please sign in to comment.