From 9bd391bb64168c55f1053800d84edc00f74f1673 Mon Sep 17 00:00:00 2001 From: Boyuan Zhang Date: Wed, 19 May 2021 14:39:17 -0400 Subject: [PATCH] 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 Reviewed-by: Leo Liu Part-of: --- src/gallium/frontends/vdpau/decode.c | 1 + 1 file changed, 1 insertion(+) diff --git a/src/gallium/frontends/vdpau/decode.c b/src/gallium/frontends/vdpau/decode.c index 8d3c58714a8..d5d62c4986b 100644 --- a/src/gallium/frontends/vdpau/decode.c +++ b/src/gallium/frontends/vdpau/decode.c @@ -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; }