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:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user