mkvtoolnix/tests/test-033timecode_scale.rb
Moritz Bunkus 1f7f3ef02b mkvmerge: accept --timestamp* in addition to --timecode*
Part of an ongoing effort to replace the use of the term `timecode`
with `timestamp`. Timecodes have a very specific meaning in the
audio/video world, and it's not what MKVToolNix has been using the
term for.
2017-10-04 14:51:41 +02:00

21 lines
443 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_033timecode_scale
describe "mkvmerge / timecode scale / in(AVI,MP3)"
test "timecode/timestamp scale" do
hash = []
merge("--timecode-scale 1000000 data/simple/v.mp3")
hash << hash_tmp
merge("--timecode-scale -1 data/avi/v.avi")
hash << hash_tmp
merge("--timestamp-scale 1000000 data/simple/v.mp3")
hash << hash_tmp
merge("--timestamp-scale -1 data/avi/v.avi")
hash << hash_tmp
hash.join('-')
end