d3d11h265dec: Properly signal the ucNumDeltaPocsOfRefRpsIdx

ucNumDeltaPocsOfRefRpsIdx should be the NumDeltaPocs[RefRpsIdx].
This commit is contained in:
Seungha Yang 2020-02-26 17:44:52 +09:00
parent 353013fcaa
commit cfb6283613

View file

@ -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) { if (slice_header->short_term_ref_pic_set_sps_flag == 0) {
params->ucNumDeltaPocsOfRefRpsIdx = params->ucNumDeltaPocsOfRefRpsIdx =
slice_header->short_term_ref_pic_sets.NumDeltaPocs; slice_header->short_term_ref_pic_sets.NumDeltaPocsOfRefRpsIdx;
params->wNumBitsForShortTermRPSInSlice = params->wNumBitsForShortTermRPSInSlice =
slice_header->short_term_ref_pic_set_size; slice_header->short_term_ref_pic_set_size;
} }