Re: [Mesa-dev] [PATCH 1/2] st/vdpau: clear Cb&Cr with 0.5f

2012-06-14 Thread Andy Furniss
Christian König wrote: That makes the output black in case of decoding errors. This fixes the green lines I was seeing with sw decode after the last patch. It doesn't replace them with black. It does make the broken hw decode on rv350 more black than it was. _

[Mesa-dev] [PATCH 1/2] st/vdpau: clear Cb&Cr with 0.5f

2012-06-14 Thread Christian König
That makes the output black in case of decoding errors. Signed-off-by: Christian König --- src/gallium/state_trackers/vdpau/surface.c |7 +-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/src/gallium/state_trackers/vdpau/surface.c b/src/gallium/state_trackers/vdpau/surfa