summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorChristophe Thommeret <hftom@free.fr>2008-12-01 20:30:30 +0000
committerChristophe Thommeret <hftom@free.fr>2008-12-01 20:30:30 +0000
commitba153b5724731308f313e0f5d7231d351a795b98 (patch)
treede3ed00e17d68f87a40b2b48997c011c7a1b3191 /src
parente1d660bdadaa9dcf6997dcef931db79bc071ee1f (diff)
downloadxine-lib-ba153b5724731308f313e0f5d7231d351a795b98.tar.gz
xine-lib-ba153b5724731308f313e0f5d7231d351a795b98.tar.bz2
Fix VO caps misdetection.
Diffstat (limited to 'src')
-rw-r--r--src/libvdpau/vdpau_h264.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/libvdpau/vdpau_h264.c b/src/libvdpau/vdpau_h264.c
index 6f0b1315d..011986312 100644
--- a/src/libvdpau/vdpau_h264.c
+++ b/src/libvdpau/vdpau_h264.c
@@ -285,7 +285,7 @@ static video_decoder_t *open_plugin (video_decoder_class_t *class_gen, xine_stre
this = (vdpau_h264_decoder_t *) calloc(1, sizeof(vdpau_h264_decoder_t));
/* the videoout must be vdpau-capable to support this decoder */
- if(!stream->video_driver->get_capabilities(stream->video_driver) & VO_CAP_VDPAU_H264)
+ if ( !(stream->video_driver->get_capabilities(stream->video_driver) & VO_CAP_VDPAU_H264) )
return NULL;
this->video_decoder.decode_data = vdpau_h264_decode_data;