mkvtoolnix/tests/test-245srt_timecode_formats.rb

21 lines
481 B
Ruby
Raw Normal View History

#!/usr/bin/ruby -w
class T_245srt_timecode_formats < Test
def description
return "mkvmerge / SRT files with various timecode formats (shortened, spaces etc) / in(SRT)"
end
def run
hashes = Array.new
2013-10-19 11:08:26 +00:00
merge "--subtitle-charset -1:ISO-8859-5 data/subtitles/srt/shortened_timecodes.srt"
hashes << hash_tmp
2013-10-19 11:08:26 +00:00
merge "--subtitle-charset -1:ISO-8859-5 data/subtitles/srt/timecodes_with_spaces.srt"
hashes << hash_tmp
return hashes.join('-')
end
end