mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
986b1f4140
Back in the day the Matroska reader was only trying to shift timestamps to 0 by using the first cluster's cluster timestamp. Quite a while later real zeroing was implemented by actually reading the timestamps of all blocks of the first ~20 MB of the file or so, but the original method wasn't removed. This was bad in two ways: 1. The older method was wrong as the first cluster's timestamp didn't have to be equal to the lowest timestamp in the file as block timestamps can be negative. 2. There were two methods for downshifting that were applied on top of each other when appending. This removes the old, wrong way. Fixes #2345.
6 lines
233 B
Ruby
Executable File
6 lines
233 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_648append_matroska_first_timestamp_not_zero
|
|
describe "mkvmerge / appending Matroska files where the second file's first timestamp is bigger than 0"
|
|
test_merge "data/mkv/bug2345-1.mkv + data/mkv/bug2345-2.mkv"
|