aboutsummaryrefslogtreecommitdiffstats
path: root/tests/ref/fate/ffmpeg-fix_sub_duration
diff options
context:
space:
mode:
authorJan Ekström <jan.ekstrom@24i.com>2021-12-20 14:30:16 +0200
committerJan Ekström <jeebjp@gmail.com>2022-01-24 12:57:03 +0200
commit0a83ecbf48bdd591b264c3cbb70393bb518b1ecc (patch)
treeea6b3e392f6061edf0cd1f72977863a539998a15 /tests/ref/fate/ffmpeg-fix_sub_duration
parentb635ac126f340512335386d32bcd2693535945c3 (diff)
downloadffmpeg-0a83ecbf48bdd591b264c3cbb70393bb518b1ecc.tar.gz
tests: add test for ffmpeg's fix_sub_duration feature
This long-existing feature calculates subtitle durations by keeping it around until the following subtitle is decoded, and then utilizes the following subtitle's pts as the end point of the previous one. Signed-off-by: Jan Ekström <jan.ekstrom@24i.com>
Diffstat (limited to 'tests/ref/fate/ffmpeg-fix_sub_duration')
-rw-r--r--tests/ref/fate/ffmpeg-fix_sub_duration31
1 files changed, 31 insertions, 0 deletions
diff --git a/tests/ref/fate/ffmpeg-fix_sub_duration b/tests/ref/fate/ffmpeg-fix_sub_duration
new file mode 100644
index 0000000000..9cd36d4888
--- /dev/null
+++ b/tests/ref/fate/ffmpeg-fix_sub_duration
@@ -0,0 +1,31 @@
+1
+00:00:00,968 --> 00:00:01,168
+<font face="Monospace">{\an7}(</font>
+
+2
+00:00:01,168 --> 00:00:01,368
+<font face="Monospace">{\an7}(<i> inaudibl</i></font>
+
+3
+00:00:01,368 --> 00:00:01,568
+<font face="Monospace">{\an7}(<i> inaudible radio chat</i></font>
+
+4
+00:00:01,568 --> 00:00:03,103
+<font face="Monospace">{\an7}(<i> inaudible radio chatter</i> )</font>
+
+5
+00:00:03,103 --> 00:00:03,303
+<font face="Monospace">{\an7}(<i> inaudible radio chatter</i> )
+>></font>
+
+6
+00:00:03,303 --> 00:00:03,503
+<font face="Monospace">{\an7}(<i> inaudible radio chatter</i> )
+>> Safety rema</font>
+
+7
+00:00:03,504 --> 00:00:03,704
+<font face="Monospace">{\an7}(<i> inaudible radio chatter</i> )
+>> Safety remains our numb</font>
+