mkvtoolnix/tests/test-525truehd_doesnt_start_with_sync_frame.rb
Moritz Bunkus eb8acb6942 TruehD parser: be more strict during resync
AC-3 frame recognition is much too unreliable as the AC-3 sync word is
only 12 bits long. Therefore the resync mechanism should only look for
the 32 bits long TrueHD/MLP sync words.
2016-01-04 20:58:10 +01:00

6 lines
225 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_525truehd_doesnt_start_with_sync_frame
describe "mkvmerge / TrueHD recognition if the stream doesn't start with a TrueHD sync frame"
test_identify "data/truehd/truehd-not-starting-with-sync-frame.thd"