mkvtoolnix/tests/test-0731hevc_es_wrong_extension_detected_as_dts.rb
Moritz Bunkus 00c0d12d34
probing: prefer AVC & HEVC at start of file over audio detection
Even though AVC & HEVC are often mis-detected in the middle of other
container formats, it is pretty unambiguous if the file starts with
the typical NALU marker. So try to detect AVC & HEVC before trying
audio types if the file starts with a NALU marker as audio types are
often mis-detected as well.

Fixes #3201.
2021-09-04 15:02:09 +02:00

10 lines
259 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_731hevc_es_wrong_extension_detected_as_dts
describe "mkvmerge / HEVC ES with wrong file name extension mis-detected as DTS"
file = "data/h265/issue-3201-hevc-es-wrong-extension-detected-as-dts.mkv"
test_identify file
test_merge file