st/vdpau: fix vlVdpOutputSurfaceRender(Output|Bitmap)Surface
authorChristian König <christian.koenig@amd.com>
Wed, 13 Aug 2014 18:21:06 +0000 (20:21 +0200)
committerChristian König <christian.koenig@amd.com>
Tue, 26 Aug 2014 15:56:57 +0000 (17:56 +0200)
commitb73c20759fe1b4a96296bed58637f5ded7c9155c
tree80eaecaeab0748286fd093e376b4b279b95b70ed
parente3c251071b0c9396c3ec76d1cf943c60ae297281
st/vdpau: fix vlVdpOutputSurfaceRender(Output|Bitmap)Surface

Correctly handle that the source_surface is only optional.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=80561

Signed-off-by: Christian König <christian.koenig@amd.com>
Reviewed-by: Ilia Mirkin <imirkin@alum.mit.edu>
Cc: mesa-stable@lists.freedesktop.org
src/gallium/state_trackers/vdpau/device.c
src/gallium/state_trackers/vdpau/output.c
src/gallium/state_trackers/vdpau/vdpau_private.h