mkvtoolnix/tests/test-591hevc_wrong_number_of_parameter_sets.rb
Moritz Bunkus c76e83ff83 HEVC parser: fix calculation of number of parameter set arrays in HEVCC
The number of parameter set arrays is not the sum of the number of
VPS, SPS, PPS and SEI NALUs, but the number of different types. For
example, if there's one VPS, one SPS, two PPS and no SEI NALUs, the
number of parameter set arrays must be three and not four.

Fixes the video-related part of #1938.
2017-04-12 18:34:57 +02:00

6 lines
236 B
Ruby
Executable File

#!/usr/bin/ruby -w
# T_591hevc_wrong_number_of_parameter_sets
describe "mkvmerge / HEVC/h.265 wrong number of parameter sets in HEVCC calculated"
test_merge "data/h265/wrong_number_of_parameter_sets_in_hevcc.ts", :args => "--no-audio"