st/vdpau: clear video surface at least once
authorChristian König <deathsimple@vodafone.de>
Sat, 24 Mar 2012 12:11:25 +0000 (13:11 +0100)
committerChristian König <deathsimple@vodafone.de>
Mon, 26 Mar 2012 10:39:40 +0000 (12:39 +0200)
commit7f6af4909241de7197e774dee988f574cb576a3b
treeae3722ad204b302bd3987e12e88ded1b07af7785
parent9f777699ed39e1c326938f84fc8f54198990cfa1
st/vdpau: clear video surface at least once

So if anything goes wrong we won't display a random image.

v2: flush before using the surface with the decoder.

Signed-off-by: Christian König <deathsimple@vodafone.de>
src/gallium/state_trackers/vdpau/decode.c
src/gallium/state_trackers/vdpau/surface.c
src/gallium/state_trackers/vdpau/vdpau_private.h