mkvtoolnix/tests/test-528handbrake_chapter_uids.rb
Moritz Bunkus 63081b4d42 Matroska reader: re-generate edition/chapter UIDs for HandBrake files
HandBrake assigns sequential numbers starting at 1 for each
file. Therefore when appending two such files there will be two chapter
entries with the UID 1, two with the UID 2 etc. and those should,
strictly speaking, be treated as if they were a single chapter. The
user, however, expects that they're all independent entries.

Implements an improvement for issues such as #1561.
2016-01-19 17:36:13 +01:00

6 lines
221 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_528handbrake_chapter_uids
describe "mkvmerge / re-generate edition & chapter UIDs for files created by HandBrake"
test_merge "data/mkv/handbrake-chapters-1.mkv + data/mkv/handbrake-chapters-2.mkv"