From: Christian König Date: Mon, 2 Sep 2013 13:42:13 +0000 (+0200) Subject: radeon/uvd: save the aligned width & height X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3e81b8eedd48bb80900522bceebf6f81c6a00312;p=mesa.git radeon/uvd: save the aligned width & height Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68845 Signed-off-by: Christian König --- diff --git a/src/gallium/drivers/radeon/radeon_uvd.c b/src/gallium/drivers/radeon/radeon_uvd.c index 3e00977987b..5e7eedbc70f 100644 --- a/src/gallium/drivers/radeon/radeon_uvd.c +++ b/src/gallium/drivers/radeon/radeon_uvd.c @@ -854,6 +854,8 @@ struct pipe_video_codec *ruvd_create_decoder(struct pipe_context *context, dec->base = *templ; dec->base.context = context; + dec->base.width = width; + dec->base.height = height; dec->base.destroy = ruvd_destroy; dec->base.begin_frame = ruvd_begin_frame;