From cfb6283613af4f1f11d9608b88861cf5b37e3a30 Mon Sep 17 00:00:00 2001 From: Seungha Yang Date: Wed, 26 Feb 2020 17:44:52 +0900 Subject: [PATCH] d3d11h265dec: Properly signal the ucNumDeltaPocsOfRefRpsIdx ucNumDeltaPocsOfRefRpsIdx should be the NumDeltaPocs[RefRpsIdx]. --- sys/d3d11/gstd3d11h265dec.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/sys/d3d11/gstd3d11h265dec.c b/sys/d3d11/gstd3d11h265dec.c index 1372b0e51a..e3c8e11cb4 100644 --- a/sys/d3d11/gstd3d11h265dec.c +++ b/sys/d3d11/gstd3d11h265dec.c @@ -1090,7 +1090,7 @@ gst_d3d11_h265_dec_picture_params_from_slice_header (GstD3D11H265Dec * { if (slice_header->short_term_ref_pic_set_sps_flag == 0) { params->ucNumDeltaPocsOfRefRpsIdx = - slice_header->short_term_ref_pic_sets.NumDeltaPocs; + slice_header->short_term_ref_pic_sets.NumDeltaPocsOfRefRpsIdx; params->wNumBitsForShortTermRPSInSlice = slice_header->short_term_ref_pic_set_size; }