diff options
author | Christian König <[email protected]> | 2012-01-10 16:56:19 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2012-01-15 12:40:44 +0100 |
commit | 2eabd05b7525f081ec203747a436d597ce33eb3b (patch) | |
tree | 299e2d199e26aa60883c808a8d4b5ddc2b412e27 /src/gallium/state_trackers | |
parent | 020a6f6cd8c3c8632f68e1f47ba3c63f2315e47e (diff) |
vl: fix YV12 handling
We actually implemented YV21 instead of YV12, so fix the plane ordering.
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium/state_trackers')
-rw-r--r-- | src/gallium/state_trackers/vdpau/surface.c | 2 |
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 8fdfafcae6d..85ce4c354bb 100644 --- a/src/gallium/state_trackers/vdpau/surface.c +++ b/src/gallium/state_trackers/vdpau/surface.c @@ -228,7 +228,7 @@ vlVdpVideoSurfacePutBitsYCbCr(VdpVideoSurface surface, return VDP_STATUS_RESOURCES; for (i = 0; i < 3; ++i) { //TODO put nr of planes into util format - struct pipe_sampler_view *sv = sampler_views[i ? i ^ 3 : 0]; + struct pipe_sampler_view *sv = sampler_views[i]; struct pipe_box dst_box = { 0, 0, 0, sv->texture->width0, sv->texture->height0, 1 }; struct pipe_transfer *transfer; |