mkvtoolnix/tests/test-023no_x.rb
Moritz Bunkus 8139108c0f Improved the control over which tags get copied from a source file to the output file
The old option --no-tags" was replaced with the new options
"--no-global-tags" which causes global tags not to be copied and
"--no-track-tags" which causes track specific tags to not be
copied. The new option "--track-tags" can be used to select tracks for
which tags will be copied. The default is still to copy all existing
tags.
2009-05-31 21:08:12 +02:00

18 lines
401 B
Ruby

#!/usr/bin/ruby -w
class T_023no_x < Test
def description
return "mkvmerge / various --no-xyz options / in(*)"
end
def run
merge("-A --no-attachments data/mkv/complex.mkv")
hash = hash_tmp
merge("-D --no-chapters data/mkv/complex.mkv")
hash += "-" + hash_tmp
merge("-S --no-global-tags --no-track-tags data/mkv/complex.mkv")
return hash + "-" + hash_tmp
end
end