From 559f6d6cf4a9469c2c6ccea482115f22080f185f Mon Sep 17 00:00:00 2001 From: Christian König Date: Wed, 27 Apr 2011 12:59:30 +0200 Subject: [g3dvl] fix setting width, height and chroma format in video buffer --- src/gallium/auxiliary/vl/vl_video_buffer.c | 3 +++ 1 file changed, 3 insertions(+) (limited to 'src/gallium/auxiliary/vl') diff --git a/src/gallium/auxiliary/vl/vl_video_buffer.c b/src/gallium/auxiliary/vl/vl_video_buffer.c index dccd7e93945..976d22830de 100644 --- a/src/gallium/auxiliary/vl/vl_video_buffer.c +++ b/src/gallium/auxiliary/vl/vl_video_buffer.c @@ -180,6 +180,9 @@ vl_video_buffer_init(struct pipe_video_context *context, buffer->base.get_sampler_view_planes = vl_video_buffer_sampler_view_planes; buffer->base.get_sampler_view_components = vl_video_buffer_sampler_view_components; buffer->base.get_surfaces = vl_video_buffer_surfaces; + buffer->base.chroma_format = chroma_format; + buffer->base.width = width; + buffer->base.height = height; buffer->pipe = pipe; buffer->num_planes = 1; -- cgit v1.2.3