From 5f2a66441545dcf698919a4a42c59f3aa1f27fa2 Mon Sep 17 00:00:00 2001 From: Nicolas Dufresne Date: Thu, 13 Apr 2023 16:03:13 -0400 Subject: [PATCH] v4l2codecs: h265: Set num_delta_pocs_of_ref_rps_idx Part-of: --- subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codech265dec.c | 1 + 1 file changed, 1 insertion(+) diff --git a/subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codech265dec.c b/subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codech265dec.c index 242c855c43..5f550adf5d 100644 --- a/subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codech265dec.c +++ b/subprojects/gst-plugins-bad/sys/v4l2codecs/gstv4l2codech265dec.c @@ -988,6 +988,7 @@ gst_v4l2_codec_h265_dec_fill_decode_params (GstV4l2CodecH265Dec * self, .num_poc_st_curr_before = decoder->NumPocStCurrBefore, .num_poc_st_curr_after = decoder->NumPocStCurrAfter, .num_poc_lt_curr = decoder->NumPocLtCurr, + .num_delta_pocs_of_ref_rps_idx = slice->header.short_term_ref_pic_sets.NumDeltaPocsOfRefRpsIdx, .flags = (GST_H265_IS_NAL_TYPE_IRAP (slice->nalu.type) ? V4L2_HEVC_DECODE_PARAM_FLAG_IRAP_PIC : 0) | (GST_H265_IS_NAL_TYPE_IDR (slice->nalu.type) ? V4L2_HEVC_DECODE_PARAM_FLAG_IDR_PIC : 0) |