From 853dc2c697d8004d6655b84ab9f28aaafc3c2b40 Mon Sep 17 00:00:00 2001 From: Andreas Rheinhardt Date: Thu, 15 May 2025 04:42:46 +0200 Subject: [PATCH 6/7] 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 --- tests/fate/qt.mak | 2 +- tests/ref/fate/svq3-watermark | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) 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 -- 2.45.2