ffmpeg | branch: master | Andreas Rheinhardt <andreas.rheinha...@outlook.com> | 
Thu May 15 04:42:46 2025 +0200| [b98128898a1be9938cd428132ab9227be9feeff1] | 
committer: Andreas Rheinhardt

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.rheinha...@outlook.com>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=b98128898a1be9938cd428132ab9227be9feeff1
---

 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

_______________________________________________
ffmpeg-cvslog mailing list
ffmpeg-cvslog@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-cvslog

To unsubscribe, visit link above, or email
ffmpeg-cvslog-requ...@ffmpeg.org with subject "unsubscribe".

Reply via email to