mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-19 14:56:36 +00:00
h265parse lib: fix missing condition when parse PPS
Follow h265 spec(04/2015), log2_max_transform_skip_block_size_minus2 should get with condition when transform_skip_enabled_flag is 1.
This commit is contained in:
parent
90d939ea36
commit
4bc46b902d
1 changed files with 3 additions and 2 deletions
|
@ -2106,8 +2106,9 @@ gst_h265_parse_pps (GstH265Parser * parser, GstH265NalUnit * nalu,
|
|||
}
|
||||
|
||||
if (pps->pps_range_extension_flag) {
|
||||
READ_UE (&nr,
|
||||
pps->pps_extension_params.log2_max_transform_skip_block_size_minus2);
|
||||
if (pps->transform_skip_enabled_flag)
|
||||
READ_UE (&nr,
|
||||
pps->pps_extension_params.log2_max_transform_skip_block_size_minus2);
|
||||
READ_UINT8 (&nr,
|
||||
pps->pps_extension_params.cross_component_prediction_enabled_flag, 1);
|
||||
READ_UINT8 (&nr,
|
||||
|
|
Loading…
Reference in a new issue