summaryrefslogtreecommitdiffstats
path: root/src/gallium/state_trackers/vdpau/surface.c
diff options
context:
space:
mode:
authorChristian König <[email protected]>2011-07-10 13:40:04 +0200
committerChristian König <[email protected]>2011-07-10 13:48:37 +0200
commit3d769619e2937cb4f2a036e82b396d9e53d65ba8 (patch)
tree1ff721fc64e569b9200a90bfb1e759277f9f3a2e /src/gallium/state_trackers/vdpau/surface.c
parent3ed8182c76c61ae0296ac442546df142f1d75b00 (diff)
vdpau: implement VdpOutputSurfaceGetParameters
Diffstat (limited to 'src/gallium/state_trackers/vdpau/surface.c')
-rw-r--r--src/gallium/state_trackers/vdpau/surface.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gallium/state_trackers/vdpau/surface.c b/src/gallium/state_trackers/vdpau/surface.c
index 877d0259c56..d3f6b5d8bc5 100644
--- a/src/gallium/state_trackers/vdpau/surface.c
+++ b/src/gallium/state_trackers/vdpau/surface.c
@@ -158,7 +158,7 @@ vlVdpVideoSurfacePutBitsYCbCr(VdpVideoSurface surface,
void const *const *source_data,
uint32_t const *source_pitches)
{
- enum pipe_format pformat = FormatToPipe(source_ycbcr_format);
+ enum pipe_format pformat = FormatYCBCRToPipe(source_ycbcr_format);
struct pipe_context *pipe;
struct pipe_sampler_view **sampler_views;
unsigned i;