1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-15 03:15:52 +00:00

fix tv bazze

git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6715 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
atmos4 2002-07-12 03:26:46 +00:00
parent d8f83d2296
commit 0c0b59c992

11
configure vendored
View File

@ -3762,14 +3762,17 @@ echocheck "Video 4 Linux TV interface"
if test "$_tv_v4l" = auto ; then
_tv_v4l=no
if test "$_tv" = yes && linux ; then
if test -c /dev/video? || test -c /dev/video ; then
cat > $TMPC <<EOF
for I in /dev/video /dev/video? ; do
if test -c $I ; then
cat > $TMPC <<EOF
#include <stdlib.h>
#include <linux/videodev.h>
int main(void) { return 0; }
EOF
cc_check && _tv_v4l=yes
fi
cc_check && _tv_v4l=yes
break
fi
done
fi
fi
if test "$_tv_v4l" = yes ; then