diff options
author | He Junyan <junyan.he@intel.com> | 2020-11-30 18:00:30 +0800 |
---|---|---|
committer | Tim-Philipp Müller <tim@centricular.com> | 2020-12-05 12:03:02 +0000 |
commit | 45960db68cc574c9d29612ffc87711f3fe662f29 (patch) | |
tree | 61f0223a504d6e7fb0c5079e0f49442349352e44 | |
parent | bff6ff06bccd619aefd24ad366704c0da697c18b (diff) |
libs: decoder: H265: Fix a typo in scc reference setting.
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-vaapi/-/merge_requests/403>
-rw-r--r-- | gst-libs/gst/vaapi/gstvaapidecoder_h265.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst-libs/gst/vaapi/gstvaapidecoder_h265.c b/gst-libs/gst/vaapi/gstvaapidecoder_h265.c index 6ec0f5ca..de0c6e70 100644 --- a/gst-libs/gst/vaapi/gstvaapidecoder_h265.c +++ b/gst-libs/gst/vaapi/gstvaapidecoder_h265.c @@ -1735,7 +1735,7 @@ init_picture_refs (GstVaapiDecoderH265 * decoder, if (pps->pps_scc_extension_params.pps_curr_pic_ref_enabled_flag && !ref_pic_list_modification->ref_pic_list_modification_flag_l0 && (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; if (type == GST_H265_B_SLICE) { |