mkvtoolnix/tests/test-422ac3_rederive_track_parameters_from_bitstream.rb
Moritz Bunkus 67bba78d14 AC3 packetizer: set changed track headers after reading the first AC3 packet
This causes the channel and sampling frequency information to be
updated from the bitstream as well, e.g. if the source container
provided invalid values.

The default duration has to be re-calculated as well.
2014-02-15 16:24:16 +01:00

6 lines
229 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_422ac3_rederive_track_parameters_from_bitstream
describe "mkvmerge / AC3: re-derive track parameters from the bitstream"
test_merge "data/ac3/wrong-sampling-frequency-in-header.mkv", :args => "--no-video"