From 3e81b8eedd48bb80900522bceebf6f81c6a00312 Mon Sep 17 00:00:00 2001 From: Christian König Date: Mon, 2 Sep 2013 15:42:13 +0200 Subject: radeon/uvd: save the aligned width & height MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68845 Signed-off-by: Christian König --- src/gallium/drivers/radeon/radeon_uvd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/gallium/drivers/radeon/radeon_uvd.c') 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; -- cgit v1.2.3