[FFmpeg-devel] [PATCH 2/5] fate/ffmpeg: Explicitly set pix fmt for sub2video tests
Andreas Rheinhardt
andreas.rheinhardt at outlook.com
Fri Mar 29 05:24:26 EET 2024
Otherwise the test would use bgra on little endian and argb
on big endian.
Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
---
tests/fate/ffmpeg.mak | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak
index 3c549b265e..fda3a29239 100644
--- a/tests/fate/ffmpeg.mak
+++ b/tests/fate/ffmpeg.mak
@@ -64,7 +64,7 @@ fate-sub2video_basic: CMD = framecrc -auto_conversion_filters \
-i $(TARGET_SAMPLES)/sub/vobsub.idx \
-fps_mode passthrough -copyts \
-filter_complex "sws_flags=+accurate_rnd+bitexact\;[0:s:0]scale" \
- -c:v rawvideo -threads 1
+ -c:v rawvideo -pix_fmt bgra -threads 1
# Time-limited run with a sample that doesn't require seeking and
# contains samples within the initial period.
@@ -74,7 +74,7 @@ fate-sub2video_time_limited: CMD = framecrc -auto_conversion_filters \
-fps_mode passthrough -copyts \
-t 15 \
-filter_complex "sws_flags=+accurate_rnd+bitexact\;[0:s:0]scale" \
- -c:v rawvideo -threads 1
+ -c:v rawvideo -threads 1 -pix_fmt bgra
FATE_FFMPEG-$(call ENCDEC, PCM_S16LE, PCM_S16LE) += fate-unknown_layout-pcm
fate-unknown_layout-pcm: $(AREF)
--
2.40.1
More information about the ffmpeg-devel
mailing list