From: Paul B Mahol <[email protected]>

swscale is called in from the 420 to 422 conversion
---
The proposed 420 addtion is wrong since it doesn't take care of the vertically 
subsempled chroma, and doing it right would replicate what swscale already does.
swscale is not guaranteed to be bitexact so adding the flags should fix fate.
Vittorio

 tests/fate/filter-video.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/fate/filter-video.mak b/tests/fate/filter-video.mak
index 20cd617..88ed9fa 100644
--- a/tests/fate/filter-video.mak
+++ b/tests/fate/filter-video.mak
@@ -22,7 +22,7 @@ FATE_FILTER_VSYNTH-$(CONFIG_FADE_FILTER) += fate-filter-fade
 fate-filter-fade: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf 
fade=in:0:25,fade=out:25:25
 
 FATE_FILTER_VSYNTH-$(call ALLYES, INTERLACE_FILTER FIELDORDER_FILTER) += 
fate-filter-fieldorder
-fate-filter-fieldorder: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf 
interlace=tff,fieldorder=bff
+fate-filter-fieldorder: CMD = framecrc -sws_flags +accurate_rnd+bitexact -c:v 
pgmyuv -i $(SRC) -vf interlace=tff,fieldorder=bff
 
 FATE_FILTER_VSYNTH-$(CONFIG_GRADFUN_FILTER) += fate-filter-gradfun
 fate-filter-gradfun: CMD = framecrc -c:v pgmyuv -i $(SRC) -vf gradfun
-- 
1.8.4

_______________________________________________
libav-devel mailing list
[email protected]
https://lists.libav.org/mailman/listinfo/libav-devel

Reply via email to