diff mbox series

[FFmpeg-devel,2/6] fate/ffmpeg: Set max_delay for shortest-sub

Message ID GV1P250MB0737FBF8791F13FC497946D18F4A9@GV1P250MB0737.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit 6a8b3e7eb1ac05b539740c5c1e9f9d41d22c7f76
Headers show
Series [FFmpeg-devel,1/6] fate/ffmpeg: Use transcode instead of enc_dec in shortest-sub test | expand


Context Check Description
yinshiyou/make_loongarch64 success Make finished
yinshiyou/make_fate_loongarch64 success Make fate finished
andriy/make_x86 success Make finished
andriy/make_fate_x86 success Make fate finished

Commit Message

Andreas Rheinhardt Sept. 18, 2022, 2:01 p.m. UTC
The aim of this test is to show the interleavement
of the file generated in the first pass; so make the
interleavement queue in the framecrc muxer in the second
pass as small as possible so that the framecrc muxer does not
fix wrong interleavement of the input file behind our backs.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
 tests/fate/ffmpeg.mak | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
diff mbox series


diff --git a/tests/fate/ffmpeg.mak b/tests/fate/ffmpeg.mak
index c14eaa4c8a..d87639c596 100644
--- a/tests/fate/ffmpeg.mak
+++ b/tests/fate/ffmpeg.mak
 fate-shortest-sub: CMD = transcode                                                                    \
         vobsub $(TARGET_SAMPLES)/sub/vobsub.idx matroska                                              \
         "-filter_complex 'color=s=1x1:rate=1:duration=400' -pix_fmt rgb24 -allow_raw_vfw 1 -c:s copy -c:v rawvideo"  \
-        "-map 0 -c copy -shortest -shortest_buf_duration 40"
+        "-map 0 -c copy -shortest -shortest_buf_duration 40 -max_delay 1"
 # Basic test for fix_sub_duration, which calculates duration based on the
 # following subtitle's pts.