frontends/vdpau: disable UseStRpsBits for vdpau hevc

vdpau interface doesn't provide st_rps_bits, it uses NumDeltaPocsOfRefRpsIdx
instead. So disabling the flag to indicate st_rps_bits will not be used.

Signed-off-by: Boyuan Zhang <boyuan.zhang@amd.com>
Reviewed-by: Leo Liu <leo.liu@amd.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/10889>
This commit is contained in:
Boyuan Zhang 2021-05-19 14:39:17 -04:00 committed by Marge Bot
parent 1285e0d2fc
commit 9bd391bb64

View file

@ -519,6 +519,7 @@ vlVdpDecoderRenderH265(struct pipe_h265_picture_desc *picture,
memcpy(picture->RefPicSetStCurrAfter, picture_info->RefPicSetStCurrAfter, 8);
memcpy(picture->RefPicSetLtCurr, picture_info->RefPicSetLtCurr, 8);
picture->UseRefPicList = false;
picture->UseStRpsBits = false;
return VDP_STATUS_OK;
}