mirror of
https://github.com/mpv-player/mpv.git
synced 2026-10-29 07:06:59 +08:00
fix tv bazze
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@6715 b3059339-0415-0410-9bf9-f77b7e298cf2
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user