summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-17 18:53:50 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2022-09-20 18:32:28 +0200
commit6a8b3e7eb1ac05b539740c5c1e9f9d41d22c7f76 (patch)
tree2f5fc8baa6d2bfe04f1f5aa52c4257d541aad7ad /tests
parent71364c54d418da142a3353db293dce91555f2c12 (diff)
fate/ffmpeg: Set max_delay for shortest-sub
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>
Diffstat (limited to 'tests')
-rw-r--r--tests/fate/ffmpeg.mak2
1 files changed, 1 insertions, 1 deletions
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
@@ -105,7 +105,7 @@ FATE_SAMPLES_FFMPEG-$(call ALLYES, COLOR_FILTER, VOBSUB_DEMUXER, MATROSKA_DEMUXE
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.