aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-05-15 04:42:46 +0200
committerAndreas Rheinhardt <andreas.rheinhardt@outlook.com>2025-05-21 03:10:52 +0200
commitb98128898a1be9938cd428132ab9227be9feeff1 (patch)
tree4115e1eb3846cb884bbc414219809428279feca8
parentf362a19096326e9dd5c4a2d23b26852a62489da9 (diff)
downloadffmpeg-b98128898a1be9938cd428132ab9227be9feeff1.tar.gz
tests/fate/qt: Use passthrough fps_mode for svq3-watermark
The file has buggy timestamps (it uses B-frames, yet pts==dts) and therefore the last frame is currently discarded by FFmpeg cli. Using -fps_mode passthrough avoids this and provides coverage of the SVQ3 draining logic. Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
-rw-r--r--tests/fate/qt.mak2
-rw-r--r--tests/ref/fate/svq3-watermark1
2 files changed, 2 insertions, 1 deletions
diff --git a/tests/fate/qt.mak b/tests/fate/qt.mak
index 42e5fd9107..436da172f1 100644
--- a/tests/fate/qt.mak
+++ b/tests/fate/qt.mak
@@ -57,7 +57,7 @@ fate-svq3-1: CMD = framecrc -i $(TARGET_SAMPLES)/svq3/Vertical400kbit.sorenson3.
fate-svq3-2: CMD = framecrc -flags +bitexact -ignore_editlist 1 -i $(TARGET_SAMPLES)/svq3/svq3_decoding_regression.mov -an
FATE_SVQ3 += fate-svq3-watermark
-fate-svq3-watermark: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/svq3/svq3_watermark.mov
+fate-svq3-watermark: CMD = framecrc -flags +bitexact -i $(TARGET_SAMPLES)/svq3/svq3_watermark.mov -fps_mode passthrough
FATE_QT-$(call FRAMECRC, MOV, SVQ3, ZLIB) += $(FATE_SVQ3)
fate-svq3: $(FATE_SVQ3)
diff --git a/tests/ref/fate/svq3-watermark b/tests/ref/fate/svq3-watermark
index f4068c612e..95d67e3da4 100644
--- a/tests/ref/fate/svq3-watermark
+++ b/tests/ref/fate/svq3-watermark
@@ -12,3 +12,4 @@
0, 7, 7, 1, 102240, 0x342bf32f
0, 8, 8, 1, 102240, 0x7b311bf1
0, 9, 9, 1, 102240, 0xf56e0cd3
+0, 9, 9, 1, 102240, 0xfb95c7d3