vl/video_buffer: fix up surface ordering for the interlaced case
authorMaarten Lankhorst <maarten.lankhorst@canonical.com>
Tue, 18 Dec 2012 12:17:22 +0000 (13:17 +0100)
committerMaarten Lankhorst <maarten.lankhorst@canonical.com>
Wed, 16 Jan 2013 16:22:55 +0000 (17:22 +0100)
commit4b8af72f96825cba8519b2c381ccde42decb69d3
treee88de2265e2b038f06043c9f5326ad750c0876be
parent892c1fa8d8248bcdb153faf0694073e3b4a91ed3
vl/video_buffer: fix up surface ordering for the interlaced case

It seems the other code expects surface[0..1] to be the luma field in interlaced case.

See for example vdpau/surface.c vlVdpVideoSurfaceClear and vlVdpVideoSurfacePutBitsYCbCr.

Signed-off-by: Maarten Lankhorst <maarten.lankhorst@canonical.com>
src/gallium/auxiliary/vl/vl_video_buffer.c