Mesa (master): radeon/uvd: save the aligned width & height
Christian König
deathsimple at kemper.freedesktop.org
Mon Sep 2 13:43:20 UTC 2013
Module: Mesa
Branch: master
Commit: 3e81b8eedd48bb80900522bceebf6f81c6a00312
URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=3e81b8eedd48bb80900522bceebf6f81c6a00312
Author: Christian König <christian.koenig at amd.com>
Date: Mon Sep 2 15:42:13 2013 +0200
radeon/uvd: save the aligned width & height
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68845
Signed-off-by: Christian König <christian.koenig at amd.com>
---
src/gallium/drivers/radeon/radeon_uvd.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/src/gallium/drivers/radeon/radeon_uvd.c b/src/gallium/drivers/radeon/radeon_uvd.c
index 3e00977..5e7eedb 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;
More information about the mesa-commit
mailing list