mkvtoolnix/tests/test-586h265_invalid_default_display_window_in_sps_vui.rb
Moritz Bunkus 639407f580 HEVC parser: detect and ignore invalid default display window VUI parameters
Certain files seem to lack the "default display window" data (well,
the flag that signals its presence/absence). Therefore a
standards-compliant parser would try to read that flag, but the data
read would belong to another flag (the "vui_timing_info_present_flag").

ffmpeg has a heuristic in place for detecting such invalid default
display window parameters. This commit implements the same heuristic
in mkvmerge.

Fixes #1907.
2017-03-19 18:57:17 +01:00

6 lines
264 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_586h265_invalid_default_display_window_in_sps_vui
describe "mkvmerge / h.265 with an invalid default display window in the VUI parameters of the sequence parameter sets"
test_merge "data/h265/invalid_default_display_window_in_sps_vui.h265"