mkvtoolnix/tests/test-509rerender_track_headers_chapters_attachments.rb
Moritz Bunkus 4f81ecb899 mkvmerge: handle chapters and attachments when re-writing track headers
The layout is: track headers, void, attachments, chapters,
clusters. When extending the void there are elements for attachments and
chapters in memory whose position will change; therefore their in-memory
copies will have to be updated, too.

Fixes #1498 but also applies to #1485.
2015-11-15 23:07:17 +01:00

8 lines
344 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_509rerender_track_headers_chapters_attachments
describe "mkvmerge / rerender_track_headers with chapters and attachments"
dir = "data/mkv/rerender_track_headers_chapters_attachments"
test_merge "#{dir}/sample.mkv", :args => "#{dir}/sample_video.hevc -T --no-chapters --no-global-tags #{dir}/sample_audio.opus -D -A -T"