[MPlayer-cvslog] r29991 - trunk/stream/tvi_v4l2.c

reimar subversion at mplayerhq.hu
Fri Dec 11 22:33:58 CET 2009


Author: reimar
Date: Fri Dec 11 22:33:57 2009
New Revision: 29991

Log:
100l, fix check for V4L2 capture capability flag.

Modified:
   trunk/stream/tvi_v4l2.c

Modified: trunk/stream/tvi_v4l2.c
==============================================================================
--- trunk/stream/tvi_v4l2.c	Fri Dec 11 00:22:19 2009	(r29990)
+++ trunk/stream/tvi_v4l2.c	Fri Dec 11 22:33:57 2009	(r29991)
@@ -613,7 +613,7 @@ static int vbi_init(priv_t* priv,char* d
         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;


More information about the MPlayer-cvslog mailing list