diff options
author | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-12-11 21:33:57 +0000 |
---|---|---|
committer | reimar <reimar@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2009-12-11 21:33:57 +0000 |
commit | e58e467c5650433efc8974e781ca029357f33122 (patch) | |
tree | b832c36ddb67fc96a189bf42fcbed2edf39a9e57 /stream | |
parent | 9aa17fbbb6a07bfa3cea5def4785f2db807e4581 (diff) | |
download | mpv-e58e467c5650433efc8974e781ca029357f33122.tar.bz2 mpv-e58e467c5650433efc8974e781ca029357f33122.tar.xz |
100l, fix check for V4L2 capture capability flag.
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29991 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'stream')
-rw-r--r-- | stream/tvi_v4l2.c | 2 |
1 files changed, 1 insertions, 1 deletions
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; |