mkvtoolnix/tests/test-592mpeg_ts_aac_wrong_track_parameters_detected.rb
Moritz Bunkus 5fbcd0aa67 MPEG TS reader: require five consecutive, identical AAC headers for track type detection
Using only a single one may lead to false positives and consequently
to wrong track parameters, especially if the file was cut at an
arbitrary position.

Fixes the audio-related part of #1938.
2017-04-12 22:57:22 +02:00

6 lines
273 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_592mpeg_ts_aac_wrong_track_parameters_detected
describe "mkvmerge / MPEG TS, AAC: false positive during AAC header detection leading to wrong track parameters"
test_merge "data/h265/wrong_number_of_parameter_sets_in_hevcc.ts", :args => "--no-video"