From e58e467c5650433efc8974e781ca029357f33122 Mon Sep 17 00:00:00 2001 From: reimar Date: Fri, 11 Dec 2009 21:33:57 +0000 Subject: 100l, fix check for V4L2 capture capability flag. git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29991 b3059339-0415-0410-9bf9-f77b7e298cf2 --- stream/tvi_v4l2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'stream') diff --git a/stream/tvi_v4l2.c b/stream/tvi_v4l2.c index 1472d7b6d9..6166a1fe16 100644 --- a/stream/tvi_v4l2.c +++ b/stream/tvi_v4l2.c @@ -613,7 +613,7 @@ static int vbi_init(priv_t* priv,char* device) close(vbi_fd); return TVI_CONTROL_FALSE; } - if(!cap.capabilities & V4L2_CAP_VBI_CAPTURE){ + if(!(cap.capabilities & V4L2_CAP_VBI_CAPTURE)){ mp_msg(MSGT_TV,MSGL_ERR,"vbi: %s does not support VBI capture\n",priv->vbi_dev); close(vbi_fd); return TVI_CONTROL_FALSE; -- cgit v1.2.3