mkvtoolnix/tests/test-584ac_3_misdetected_as_mp3.rb
Moritz Bunkus 5d2f7eb039 mkvmerge: probe AC-3/MP3/AAC at start of file before in middle of file
Fixes certain misdetection scenarios.
2017-02-18 12:34:10 +01:00

13 lines
239 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_584ac_3_misdetected_as_mp3
describe "mkvmerge / AC-3 misdetected as MP3"
file = "data/ac3/misdetected_as_mp3.ac3"
test "identification" do
identify_json(file)["container"]["type"] == "AC-3"
end
test_merge file