[MPlayer-dev-eng] [PATCH] fix configure v4l

Felix Buenemann atmosfear at users.sourceforge.net
Wed Jul 10 05:14:29 CEST 2002


On Tuesday 09 July 2002 20:22, Arpi wrote:
> Hi,
>
> > Hi, this is a roll-back from a patch that was recently commited. It
> > fails when there are more than 1 video device. Sorry :)
>
> hmmm, yes. but this is NOT the right fix:
> > --- configure	8 Jul 2002 23:29:02 -0000	1.519
> > +++ configure	9 Jul 2002 16:41:11 -0000
> > @@ -3734,7 +3734,7 @@
> >  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
> > +  if test -c /dev/video0 || test -c /dev/video ; then

what about:
for I in /dev/video? /dev/video ; do
  if test -c $I ; then
[...]

> A'rpi / Astral & ESP-team

-- 
Best Regards,
        Atmos
____________________________________________
- MPlayer Developer - http://mplayerhq.hu/ -
____________________________________________



More information about the MPlayer-dev-eng mailing list