diff options
-rw-r--r-- | src/gallium/state_trackers/vdpau/decode.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) |