[MPlayer-dev-eng] [PATCH] configure v4l
Julian J.M.
bandit at telecable.es
Sat Jun 22 16:12:17 CEST 2002
Hi,
I have a bt878 card and a logitech quickcam. The latest is assigned
/dev/video1 (video_nr=1). When I did a configure, it didn't detect
tv-v4l support because it only checks /dev/video0. With this patch it
does. And yes, I know it's a trivial one :)
Greetings
diff -u -r mplayer/configure mplayer-dev/configure
--- mplayer/configure 2002-06-16 22:00:14.000000000 +0200
+++ mplayer-dev/configure 2002-06-22 16:01:23.000000000 +0200
@@ -3710,7 +3710,7 @@
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
+ if test -c /dev/video? || test -c /dev/video ; then
cat > $TMPC <<EOF
#include <stdlib.h>
#include <linux/videodev.h>
More information about the MPlayer-dev-eng
mailing list