mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
71ab9d599d
OGM comments might be written in a charset other than UTF-8. During identification we simply want to know how many chapter entries there are. As mmg's users have no way to specify the chapter charset when adding a file such charset issues may cause mkvmerge to abort or not to show any chapters at all (if "parse_chapters()" fails). So just remove all chars > 127. Fixes #919.
10 lines
260 B
Ruby
Executable File
10 lines
260 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
file = "data/ogg/with_chapters_ansi_encoded.ogm"
|
|
|
|
describe "mkvmerge / identify and merge OGMs with comments encoded in ANSI"
|
|
|
|
test_identify file
|
|
test_merge file, :exit_code => :warning
|
|
test_merge file, :args => "--chapter-charset MS-ANSI"
|