diff options
author | Christian König <[email protected]> | 2012-03-24 13:08:01 +0100 |
---|---|---|
committer | Christian König <[email protected]> | 2012-03-26 12:39:40 +0200 |
commit | 9f777699ed39e1c326938f84fc8f54198990cfa1 (patch) | |
tree | 30f6ee79efdb7370cd284228be4a08dd496278c4 /src/gallium | |
parent | 7b6424143d8bf572cadd46adcbaa91d2a5598635 (diff) |
st/vdpau: invert interlaced buffer checks
That wasn't working as supposed.
Signed-off-by: Christian König <[email protected]>
Diffstat (limited to 'src/gallium')
-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) |