mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-27 05:14:47 +00:00
b155c85aaf
The original code tried all four possible combinations of byte swapping yes/no and 14-in-16 yes/no and aborted as soon as a single DTS header was found. This can be a false positive, though, and with one test file provided by a user this has indeed been the case. The new code does the same detection but requires five consecutive DTS headers to be found before the detection is deemed to be successful.
8 lines
254 B
Ruby
Executable File
8 lines
254 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_568dts_wav_14_in_16_detection_failures
|
|
describe "mkvmerge / DTS in WAV, failure in proper detection of byte swapping/14-in-16 packing"
|
|
|
|
test_merge "data/wav/05-labyrinth-path-13.wav"
|
|
test_merge "data/wav/06-labyrinth-path-14.wav"
|