mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-12 11:26:39 +00:00
libs: decoder: H265: Fix a typo in scc reference setting.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/402>
This commit is contained in:
parent
d94b864428
commit
ba58557c14
1 changed files with 1 additions and 1 deletions
|
@ -1737,7 +1737,7 @@ init_picture_refs (GstVaapiDecoderH265 * decoder,
|
||||||
if (pps->pps_scc_extension_params.pps_curr_pic_ref_enabled_flag
|
if (pps->pps_scc_extension_params.pps_curr_pic_ref_enabled_flag
|
||||||
&& !ref_pic_list_modification->ref_pic_list_modification_flag_l0
|
&& !ref_pic_list_modification->ref_pic_list_modification_flag_l0
|
||||||
&& (NumRpsCurrTempList0 > num_ref_idx_l0_active_minus1 + 1))
|
&& (NumRpsCurrTempList0 > num_ref_idx_l0_active_minus1 + 1))
|
||||||
priv->RefPicList0[rIdx++] = picture;
|
priv->RefPicList0[num_ref_idx_l0_active_minus1] = picture;
|
||||||
priv->RefPicList0_count = rIdx;
|
priv->RefPicList0_count = rIdx;
|
||||||
|
|
||||||
if (type == GST_H265_B_SLICE) {
|
if (type == GST_H265_B_SLICE) {
|
||||||
|
|
Loading…
Reference in a new issue