st/vdpau: don't try to create video buffer when the format is FORMAT_NONE
authorEmil Velikov <emil.l.velikov@gmail.com>
Fri, 16 Aug 2013 22:10:20 +0000 (23:10 +0100)
committerChristian König <christian.koenig@amd.com>
Mon, 19 Aug 2013 16:32:03 +0000 (18:32 +0200)
commit5e91c152902dc32b9042faddf186146860095ecb
tree73b9f87b451e5f9e18362cef6b04185f774c28cc
parent3448b66dac521fb16ccaa7cdf3427343a6e355a2
st/vdpau: don't try to create video buffer when the format is FORMAT_NONE

Not seen in the wild yet, but seems like a reasonable thing to do.
[suggested by Christian]

Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
src/gallium/state_trackers/vdpau/surface.c