radeon/uvd: save the aligned width & height
authorChristian König <christian.koenig@amd.com>
Mon, 2 Sep 2013 13:42:13 +0000 (15:42 +0200)
committerChristian König <christian.koenig@amd.com>
Mon, 2 Sep 2013 13:42:13 +0000 (15:42 +0200)
Fixes: https://bugs.freedesktop.org/show_bug.cgi?id=68845
Signed-off-by: Christian König <christian.koenig@amd.com>
src/gallium/drivers/radeon/radeon_uvd.c

index 3e00977987b947025e8e773efc0fb51a2b4292cc..5e7eedbc70fbd8b6c2b12bb7f66534f719353afb 100644 (file)
@@ -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;