Commit 65a3870462 for ffmpeg
commit 65a38704627691bff121a874dffc209aae239e20
Author: Kacper Michajłow <kasper93@gmail.com>
Date: Thu Oct 1 17:47:45 2026 +0200
tests/fate/vcodec: require the scale filter for the mpeg2 and mpeg4 tests
The vsynth sources are tagged center sited and the mpeg2video and mpeg4
encoders require left or top-left siting, so these tests convert the
chroma location when encoding and back when decoding. Fixes FATE with
--disable-swscale.
Signed-off-by: Kacper Michajłow <kasper93@gmail.com>
diff --git a/tests/fate/vcodec.mak b/tests/fate/vcodec.mak
index 190ff7de19..68270766e1 100644
--- a/tests/fate/vcodec.mak
+++ b/tests/fate/vcodec.mak
@@ -263,14 +263,14 @@ fate-vsynth%-mpeg1b: ENCOPTS = -qscale 8 -bf 3 -ps 200
fate-vsynth%-mpeg1b: FMT = mpeg1video
FATE_MPEG2 := mpeg2 \
- $(if $(CONFIG_SCALE_FILTER), mpeg2-422) \
+ mpeg2-422 \
mpeg2-idct-int \
mpeg2-ilace \
mpeg2-ivlc-qprd \
mpeg2-thread \
mpeg2-thread-ivlc
-FATE_VCODEC-$(call ENCDEC, MPEG2VIDEO, MPEG2VIDEO MPEGVIDEO) += $(FATE_MPEG2)
+FATE_VCODEC_SCALE-$(call ENCDEC, MPEG2VIDEO, MPEG2VIDEO MPEGVIDEO) += $(FATE_MPEG2)
$(FATE_MPEG2:%=fate-vsynth\%-%): FMT = mpeg2video
$(FATE_MPEG2:%=fate-vsynth\%-%): CODEC = mpeg2video
@@ -309,8 +309,8 @@ FATE_MPEG4_AVI = mpeg4-rc \
mpeg4-nr \
mpeg4-nsse
-FATE_VCODEC-$(call ENCDEC, MPEG4, MP4 MOV) += $(FATE_MPEG4_MP4)
-FATE_VCODEC-$(call ENCDEC, MPEG4, AVI) += $(FATE_MPEG4_AVI)
+FATE_VCODEC_SCALE-$(call ENCDEC, MPEG4, MP4 MOV) += $(FATE_MPEG4_MP4)
+FATE_VCODEC_SCALE-$(call ENCDEC, MPEG4, AVI) += $(FATE_MPEG4_AVI)
fate-vsynth%-mpeg4: ENCOPTS = -qscale 10 -flags +mv4 -mbd bits
fate-vsynth%-mpeg4: FMT = mp4
@@ -324,7 +324,7 @@ fate-vsynth%-mpeg4-adap: ENCOPTS = $(MPEG4_ADAP_OPTS)
# This is the same test as fate-vsynth%-mpeg4-adap but with an input padded
# so the encoder can use it without copy.
-FATE_VCODEC_LAYOUT-$(call ENCDEC, MPEG4, AVI, PAD_FILTER CROP_FILTER) += \
+FATE_VCODEC_LAYOUT-$(call ENCDEC, MPEG4, AVI, PAD_FILTER CROP_FILTER SCALE_FILTER) += \
fate-vsynth1-mpeg4-layout fate-vsynth1-mpeg4-layout-ref
fate-vsynth%-mpeg4-layout: ENCOPTS = -vf pad=384:288:0:0,crop=352:288:0:0 \
$(MPEG4_ADAP_OPTS)