diff options
author | Christian König <[email protected]> | 2013-09-02 15:42:13 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2013-09-02 15:42:13 +0200 |
commit | 3e81b8eedd48bb80900522bceebf6f81c6a00312 (patch) | |
tree | 5a58b834747ebca1114ce2f7c9c38d99e3036224 /src/gallium/drivers/radeon/radeon_uvd.c | |
parent | da33347131ff88a3b7979aea2031ce6f34319ed0 (diff) |
radeon/uvd: save the aligned width & height
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68845
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/drivers/radeon/radeon_uvd.c')
-rw-r--r-- | 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 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; |