From: Christian König Date: Sat, 24 Mar 2012 12:08:01 +0000 (+0100) Subject: st/vdpau: invert interlaced buffer checks X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=9f777699ed39e1c326938f84fc8f54198990cfa1;p=mesa.git st/vdpau: invert interlaced buffer checks That wasn't working as supposed. Signed-off-by: Christian König --- diff --git a/src/gallium/state_trackers/vdpau/decode.c b/src/gallium/state_trackers/vdpau/decode.c index 0802f28e5cc..6ffd17652b7 100644 --- a/src/gallium/state_trackers/vdpau/decode.c +++ b/src/gallium/state_trackers/vdpau/decode.c @@ -464,7 +464,7 @@ vlVdpDecoderRender(VdpDecoder decoder, if (vlsurf->video_buffer == NULL || !screen->is_video_format_supported(screen, vlsurf->video_buffer->buffer_format, dec->profile) || - buffer_support[vlsurf->video_buffer->interlaced]) { + !buffer_support[vlsurf->video_buffer->interlaced]) { /* destroy the old one */ if (vlsurf->video_buffer)