mkvtoolnix/tests/test-653X_text_subtitles_without_duration.rb
Moritz Bunkus 237585d0d4
mkvextract: simple text subtitles: handle blocks without a duration
If there's no duration, the current entry will be buffered. As soon as
the following entry is found, the difference between the start
timestamps of the current and buffered blocks will be used as the
buffered block's duration.

Part of the implementation of #2397.
2018-10-05 19:06:51 +02:00

10 lines
241 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_653X_text_subtitles_without_duration
describe "mkvextract / text subtitle tracks without BlockDuration elements"
test "extraction" do
extract "data/mkv/text-subtitles-without-duration.mkv", 2 => tmp
hash_tmp
end