2022-03-27 08:39:47 +00:00
|
|
|
#!/usr/bin/ruby -w
|
|
|
|
|
|
|
|
# T_735normalize_language_ietf_tracks
|
|
|
|
describe "mkvmerge / normalize language IETF in tracks"
|
|
|
|
|
|
|
|
src = "data/avi/v.avi"
|
|
|
|
|
2022-03-28 15:23:39 +00:00
|
|
|
test_merge src, :args => "--language 0:fr-fx --language 1:zh-yue --normalize-language-ietf off", :keep_tmp => true
|
2022-03-27 08:39:47 +00:00
|
|
|
compare_languages_tracks [ "fre", "fr-FX" ], [ "chi", "zh-yue" ]
|
|
|
|
|
2022-03-28 15:23:39 +00:00
|
|
|
test_merge src, :args => "--language 0:fr-fx --language 1:zh-yue", :keep_tmp => true
|
2022-03-27 08:39:47 +00:00
|
|
|
compare_languages_tracks [ "fre", "fr-FR" ], [ "chi", "yue" ]
|
|
|
|
|
|
|
|
test_merge src, :args => "--language 0:fr-fx --language 1:yue --normalize-language-ietf extlang", :keep_tmp => true
|
|
|
|
compare_languages_tracks [ "fre", "fr-FR" ], [ "chi", "zh-yue" ]
|