1
0
mirror of https://github.com/mpv-player/mpv synced 2025-02-28 11:20:56 +00:00

100l, fix check for V4L2 capture capability flag.

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@29991 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
reimar 2009-12-11 21:33:57 +00:00
parent 9aa17fbbb6
commit e58e467c56

View File

@ -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;