mirror of
https://github.com/mpv-player/mpv
synced 2025-01-01 04:36:24 +01:00
v4l detect fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3751 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
parent
baf31d5bfa
commit
0c778769eb
10
configure
vendored
10
configure
vendored
@ -2433,17 +2433,17 @@ fi
|
||||
echores "$_tv"
|
||||
|
||||
echocheck "Video 4 Linux TV interface"
|
||||
if test "$_tv_v4l" = auto && test "$_tv" = yes && linux ; then
|
||||
_tv_v4l=no
|
||||
if test -c /dev/video0 ; then
|
||||
if test "$_tv_v4l" = auto ; then
|
||||
_tv_v4l=no
|
||||
if test "$_tv" = yes && linux ; then
|
||||
if test -c /dev/video0 || test -c /dev/video ; then
|
||||
cat > $TMPC <<EOF
|
||||
#include <linux/videodev.h>
|
||||
int main(void) { return 0; }
|
||||
EOF
|
||||
cc_check && _tv_v4l=yes
|
||||
fi
|
||||
else
|
||||
_tv_v4l=no
|
||||
fi
|
||||
fi
|
||||
if test "$_tv_v4l" = yes ; then
|
||||
_def_tv_v4l='#define HAVE_TV_V4L 1'
|
||||
|
Loading…
Reference in New Issue
Block a user