mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-01 08:08:06 +02:00
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:
parent
1285e0d2fc
commit
9bd391bb64
1 changed files with 1 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue