diff options
author | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-25 22:08:22 +0000 |
---|---|---|
committer | arpi <arpi@b3059339-0415-0410-9bf9-f77b7e298cf2> | 2001-12-25 22:08:22 +0000 |
commit | 0c778769ebd712f9683a02fa84996483c7b20295 (patch) | |
tree | dfb9bbe021a7e82b9b63b473e196c62b8bf0993c /configure | |
parent | baf31d5bfad6ac07c3e495cd6889dd51b4342662 (diff) | |
download | mpv-0c778769ebd712f9683a02fa84996483c7b20295.tar.bz2 mpv-0c778769ebd712f9683a02fa84996483c7b20295.tar.xz |
v4l detect fixed
git-svn-id: svn://svn.mplayerhq.hu/mplayer/trunk@3751 b3059339-0415-0410-9bf9-f77b7e298cf2
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -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' |