mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
ffb32a657b
The features removed are: * mkvmerge: the options `--identify-verbose` (and its counterpart `-I`), `--identify-for-gui`, `--identify-for-mmg` and `--identification-format verbose-text` * all command line tools: the old, proprietary format used for option files * all command line tools: support for passing command line options via the environment variables `MKVTOOLNIX_OPTIONS`, `MKVEXTRACT_OPTIONS`, `MKVINFO_OPTIONS`, `MKVMERGE_OPTIONS`, and `MKVPROPEDIT_OPTIONS`
18 lines
477 B
Ruby
Executable File
18 lines
477 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
codes = {
|
|
"iw" => "heb",
|
|
"scr" => "hrv",
|
|
"scc" => "srp",
|
|
"mol" => "rum",
|
|
}
|
|
|
|
describe "mkvmerge / deprecated ISO 639-1/2 codes"
|
|
|
|
codes.each do |deprecated_code, expected_code|
|
|
test_merge "data/subtitles/srt/vde.srt", :args => "--language 0:#{deprecated_code}", :keep_tmp => true
|
|
test "check code #{deprecated_code} => #{expected_code}" do
|
|
identify_json(tmp)["tracks"][0]["properties"]["language"] == expected_code ? "good" : "bad"
|
|
end
|
|
end
|