This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 9c8fc66ce196d40b12259458e045436cedc0d69e
Author:     James Almer <[email protected]>
AuthorDate: Tue Jul 21 10:54:41 2026 -0300
Commit:     James Almer <[email protected]>
CommitDate: Wed Jul 22 20:50:14 2026 -0300

    tests/fate/matroska: add a test for Track Timescale handling
    
    Signed-off-by: James Almer <[email protected]>
---
 tests/fate/matroska.mak                 | 4 ++++
 tests/ref/fate/matroska-track-timescale | 8 ++++++++
 2 files changed, 12 insertions(+)

diff --git a/tests/fate/matroska.mak b/tests/fate/matroska.mak
index d350b13d8b..6a98845ca2 100644
--- a/tests/fate/matroska.mak
+++ b/tests/fate/matroska.mak
@@ -271,6 +271,10 @@ fate-matroska-stereo_mode: CMD = transcode ogg 
$(TARGET_SAMPLES)/vp3/offset_test
     "-map 0 -c copy" \
     "-show_entries 
stream_disposition=default,original,dub:stream_tags:stream_side_data_list"
 
+# This tests that the matroska demuxer properly scales timestamps and 
durations using the Track Timescale element
+FATE_MATROSKA-$(call FRAMECRC, MATROSKA) += fate-matroska-track-timescale
+fate-matroska-track-timescale: CMD = framecrc -i 
$(TARGET_SAMPLES)/mkv/tts10.mkv -c:s copy
+
 
 # The following test tests the various flavours of WebVTT in WebM.
 # It also tests that dispositions not supported by WebM are not written
diff --git a/tests/ref/fate/matroska-track-timescale 
b/tests/ref/fate/matroska-track-timescale
new file mode 100644
index 0000000000..b09585a85f
--- /dev/null
+++ b/tests/ref/fate/matroska-track-timescale
@@ -0,0 +1,8 @@
+#tb 0: 1/100
+#media_type 0: subtitle
+#codec_id 0: subrip
+0,          0,          0,       10,        1, 0x00610061
+0,         10,         10,       10,        1, 0x00620062
+0,         20,         20,       80,        1, 0x00630063
+0,        100,        100,       10,        1, 0x00640064
+0,        110,        110,       10,        1, 0x00650065

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to