mkvtoolnix/tests/test-686container_wrong_num_channels.rb
Moritz Bunkus d0c7145a88
MP4 reader: ALAC: read num channels/sample rate/bit depth from codec config
This is a workaround for wrong values at the container level (in the
`stsd` atom). Implements #2714.
2020-01-01 23:57:30 +01:00

8 lines
276 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_686container_wrong_num_channels
describe "mkvmerge / ALAC in MP4 with wrong number of channels in `stsd` atom"
test "identification" do
identify_json("data/alac/container_wrong_num_channels.m4a")["tracks"][0]["properties"]["audio_channels"] == 6
end