mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
16 lines
682 B
Ruby
Executable File
16 lines
682 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_735normalize_language_ietf_tracks
|
|
describe "mkvmerge / normalize language IETF in tracks"
|
|
|
|
src = "data/subtitles/srt/ven.srt"
|
|
|
|
test_merge src, :args => "--language 0:fr-fx #{src} --language 0:zh-yue --normalize-language-ietf off", :keep_tmp => true
|
|
compare_languages_tracks [ "fre", "fr-FX" ], [ "chi", "zh-yue" ]
|
|
|
|
test_merge src, :args => "--language 0:fr-fx #{src} --language 0:zh-yue", :keep_tmp => true
|
|
compare_languages_tracks [ "fre", "fr-FR" ], [ "chi", "yue" ]
|
|
|
|
test_merge src, :args => "--language 0:fr-fx #{src} --language 0:yue --normalize-language-ietf extlang", :keep_tmp => true
|
|
compare_languages_tracks [ "fre", "fr-FR" ], [ "chi", "zh-yue" ]
|