From ba153b5724731308f313e0f5d7231d351a795b98 Mon Sep 17 00:00:00 2001 From: Christophe Thommeret Date: Mon, 1 Dec 2008 20:30:30 +0000 Subject: Fix VO caps misdetection. --- src/libvdpau/vdpau_h264.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src') 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; -- cgit v1.2.3