diff options
author | Christian König <[email protected]> | 2011-07-08 16:56:11 +0200 |
---|---|---|
committer | Christian König <[email protected]> | 2011-07-08 16:56:11 +0200 |
commit | 4e837f557bf5f5afb286e1f2244ed69c0092c2d6 (patch) | |
tree | 5ac1fe3a1f58d5819428577f4daa447741f00eae /src/gallium/state_trackers/vdpau/surface.c | |
parent | 3bb33c911b895819fde5e179b2466c08f88164cf (diff) |
[g3dvl] move video buffer creation out of video context
Diffstat (limited to 'src/gallium/state_trackers/vdpau/surface.c')
-rw-r--r-- | src/gallium/state_trackers/vdpau/surface.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gallium/state_trackers/vdpau/surface.c b/src/gallium/state_trackers/vdpau/surface.c index f20087f3fca..b8c4d2cd150 100644 --- a/src/gallium/state_trackers/vdpau/surface.c +++ b/src/gallium/state_trackers/vdpau/surface.c @@ -70,9 +70,9 @@ vlVdpVideoSurfaceCreate(VdpDevice device, VdpChromaType chroma_type, } p_surf->device = dev; - p_surf->video_buffer = dev->context->vpipe->create_buffer + p_surf->video_buffer = dev->context->pipe->create_video_buffer ( - dev->context->vpipe, + dev->context->pipe, PIPE_FORMAT_YV12, // most common used ChromaToPipe(chroma_type), width, height |