diff options
author | Christophe Thommeret <hftom@free.fr> | 2008-12-01 20:30:30 +0000 |
---|---|---|
committer | Christophe Thommeret <hftom@free.fr> | 2008-12-01 20:30:30 +0000 |
commit | ba153b5724731308f313e0f5d7231d351a795b98 (patch) | |
tree | de3ed00e17d68f87a40b2b48997c011c7a1b3191 /src | |
parent | e1d660bdadaa9dcf6997dcef931db79bc071ee1f (diff) | |
download | xine-lib-ba153b5724731308f313e0f5d7231d351a795b98.tar.gz xine-lib-ba153b5724731308f313e0f5d7231d351a795b98.tar.bz2 |
Fix VO caps misdetection.
Diffstat (limited to 'src')
-rw-r--r-- | src/libvdpau/vdpau_h264.c | 2 |
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; |