From 22bac86081c46fc2a95dd4865e31f94f7c2e6f53 Mon Sep 17 00:00:00 2001 From: Julian Scheel Date: Mon, 8 Dec 2008 10:49:45 +0000 Subject: Enable VO_CAP check. --- src/libvdpau/vdpau_h264.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/libvdpau/vdpau_h264.c b/src/libvdpau/vdpau_h264.c index ac539c985..35e45bb0e 100644 --- a/src/libvdpau/vdpau_h264.c +++ b/src/libvdpau/vdpau_h264.c @@ -422,8 +422,8 @@ 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) ) - return NULL;*/ + if ( !(stream->video_driver->get_capabilities(stream->video_driver) & VO_CAP_VDPAU_H264) ) + return NULL; this->video_decoder.decode_data = vdpau_h264_decode_data; this->video_decoder.flush = vdpau_h264_flush; -- cgit v1.2.3