mirror of
https://github.com/mpv-player/mpv
synced 2025-03-05 05:37:37 +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:
parent
d8f83d2296
commit
0c0b59c992
11
configure
vendored
11
configure
vendored
@ -3762,14 +3762,17 @@ echocheck "Video 4 Linux TV interface"
|
|||||||
if test "$_tv_v4l" = auto ; then
|
if test "$_tv_v4l" = auto ; then
|
||||||
_tv_v4l=no
|
_tv_v4l=no
|
||||||
if test "$_tv" = yes && linux ; then
|
if test "$_tv" = yes && linux ; then
|
||||||
if test -c /dev/video? || test -c /dev/video ; then
|
for I in /dev/video /dev/video? ; do
|
||||||
cat > $TMPC <<EOF
|
if test -c $I ; then
|
||||||
|
cat > $TMPC <<EOF
|
||||||
#include <stdlib.h>
|
#include <stdlib.h>
|
||||||
#include <linux/videodev.h>
|
#include <linux/videodev.h>
|
||||||
int main(void) { return 0; }
|
int main(void) { return 0; }
|
||||||
EOF
|
EOF
|
||||||
cc_check && _tv_v4l=yes
|
cc_check && _tv_v4l=yes
|
||||||
fi
|
break
|
||||||
|
fi
|
||||||
|
done
|
||||||
fi
|
fi
|
||||||
fi
|
fi
|
||||||
if test "$_tv_v4l" = yes ; then
|
if test "$_tv_v4l" = yes ; then
|
||||||
|
Loading…
Reference in New Issue
Block a user