Commit e914b1cb0c for ffmpeg
commit e914b1cb0c5165530d51ed28c4a6a00fe701829f
Author: Michael Niedermayer <michael@niedermayer.cc>
Date: Tue Oct 20 21:55:24 2026 +0000
tests/fate/seek: pin the HLS video encoder thread count
The generated MPEG-2 video depends on the automatic slice thread count.
Use a single video encoder thread so CPU availability cannot change the
fixture. The current master seek reference does not sample the packets
whose sizes expose this difference on release/9.0, so it is unchanged.
Validated fate-seek-hls with freshly generated input three times each
under CPU affinity masks containing one, two, and eight CPUs.
Related-to: #24579
Assisted-by: Fairy
diff --git a/tests/fate/seek.mak b/tests/fate/seek.mak
index fa57d60841..d33cef4d92 100644
--- a/tests/fate/seek.mak
+++ b/tests/fate/seek.mak
@@ -204,7 +204,7 @@ tests/data/hls-seek.m3u8: ffmpeg$(PROGSSUF)$(EXESUF) | tests/data
$(M)$(TARGET_EXEC) $(TARGET_PATH)/$< -nostdin \
-f lavfi -i "testsrc2=size=128x72:rate=10:d=6" \
-f lavfi -i "aevalsrc=cos(2*PI*t)*sin(2*PI*(440+4*t)*t):d=6" \
- -map 0:v -map 1:a -c:v mpeg2video -bf 2 -g 15 -dct int -idct int -flags +bitexact -c:a mp2fixed \
+ -map 0:v -map 1:a -c:v mpeg2video -threads:v 1 -bf 2 -g 15 -dct int -idct int -flags +bitexact -c:a mp2fixed \
-f hls -hls_time 2 -hls_list_size 0 \
-var_stream_map "v:0,agroup:a a:0,agroup:a,default:yes" -master_pl_name hls-seek.m3u8 \
-hls_segment_filename $(TARGET_PATH)/tests/data/hls-seek-s%v-%d.ts \