summaryrefslogtreecommitdiff
path: root/src/libvdpau
diff options
context:
space:
mode:
authorJulian Scheel <julian@jusst.de>2008-12-08 10:49:45 +0000
committerJulian Scheel <julian@jusst.de>2008-12-08 10:49:45 +0000
commit22bac86081c46fc2a95dd4865e31f94f7c2e6f53 (patch)
tree3778ca75a0d9989d986ac1981d7226351de2f977 /src/libvdpau
parent2a0e91697830b8645ce3feeda623ad549b9809aa (diff)
downloadxine-lib-22bac86081c46fc2a95dd4865e31f94f7c2e6f53.tar.gz
xine-lib-22bac86081c46fc2a95dd4865e31f94f7c2e6f53.tar.bz2
Enable VO_CAP check.
Diffstat (limited to 'src/libvdpau')
-rw-r--r--src/libvdpau/vdpau_h264.c4
1 files 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;