mirror of
https://gitlab.com/mbunkus/mkvtoolnix.git
synced 2024-12-25 04:11:44 +00:00
190cd56e7b
Under certain conditions the width/height of hadn't been known in the
HEVC when the HEVCC was considered to be ready. The width/height were
only fixed by later SPS instances in the bitstream.
In that case the HEVC reader was only reading until the the parser
signaled that the HEVCC was ready. The following check for width &
height being positive failed, causing detection to fail.
The change is to let the HEVC parser signal readiness if and only if
both the HEVCC is ready and width & height are positive.
The same applies to the AVC reader.
This fixes the regression introduced in
508c925eef
.
10 lines
281 B
Ruby
Executable File
10 lines
281 B
Ruby
Executable File
#!/usr/bin/ruby -w
|
|
|
|
# T_565hevc_detection_failed_due_to_width_height
|
|
describe "mkvmerge / HEVC detection failed due to width/height not being said at the wrong point in time"
|
|
|
|
file = "data/h265/x265_v2.0+24_crf12_aqmode0_threads1_hightier.h265"
|
|
|
|
test_identify file
|
|
test_merge file
|