Skip to content
Snippets Groups Projects
Commit b928ff6f authored by Sonny Jiang's avatar Sonny Jiang Committed by Leo Liu
Browse files

radeon/uvd: fix a h265 context size bug


Signed-off-by: Sonny Jiang's avatarsonjiang <sonny.jiang@amd.com>
Cc: "12.0" <mesa-stable@lists.freedesktop.org>
Reviewed-by: default avatarAlex Deucher <alexander.deucher@amd.com>
Reviewed-by: default avatarChristian König <christian.koenig@amd.com>
parent 5c80354a
No related branches found
No related tags found
No related merge requests found
......@@ -1096,6 +1096,9 @@ static void ruvd_end_frame(struct pipe_video_codec *decoder,
}
rvid_clear_buffer(decoder->context, &dec->ctx);
}
if (dec->ctx.res)
dec->msg->body.decode.dpb_reserved = dec->ctx.res->buf->size;
break;
case PIPE_VIDEO_FORMAT_VC1:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment