mkvtoolnix/tests/test-619ac_3_misdetected_as_mpeg_ps_and_encrypted.rb
Moritz Bunkus c709cf94a9 merge: try reliable audio (AAC, AC-3, MP3) detection before MPEG TS/PS detection
Audio frames at the start of the file should have higher precedence,
especially over formats that don't always have start codes at the
beginning of the file.

Fixes certain AC-3 files being mis-detected as encrypted MPEG program streams.
2017-10-07 17:27:16 +02:00

6 lines
210 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_619ac_3_misdetected_as_mpeg_ps_and_encrypted
describe "mkvmerge / AC-3 mis-detected as an encrypted MPEG program stream"
test_identify "data/ac3/misdetected_as_mpegps_and_encrypted.ac3"