Webcam recommendations
Matthias Apitz
guru at unixarea.de
Mon Mar 21 14:36:52 UTC 2011
El día Monday, March 21, 2011 a las 01:01:36PM +0100, Hans Petter Selasky escribió:
> On Monday 21 March 2011 12:42:15 Hans Petter Selasky wrote:
> > On Monday 21 March 2011 12:21:41 Matthias Apitz wrote:
> > > That's why I think that the man pages of webcamd are not enough, there
> > > should be a note about if v4l or v4l2 is awaited from the application;
> > > or we need some overall table describing the cams(...) from all webcamd
> > > drivers and the application which can be used.
> >
> > Hi,
> >
> > I found it!
> >
> > CONFIG_COMPAT was not defined during build, so the webcam'd V4L2->V4L1
> > layer was never compiled. Can you compile the svn version of webcamd and
> > report back?
>
> Looks like I was too quick about that. Anyway, maybe you could bother to add
> some prints in:
>
> v4l-dvb/linux/drivers/media/video/v4l2-ioctl.c
>
> Because the V4l1 -> V4L2 translation should already be in place.
Yes, it is there already:
#ifdef CONFIG_VIDEO_V4L1_COMPAT
/********************************************************
All other V4L1 calls are handled by v4l1_compat module.
Those calls will be translated into V4L2 calls, and
__video_do_ioctl will be called again, with one or more
V4L2 ioctls.
********************************************************/
if (_IOC_TYPE(cmd) == 'v' && cmd != VIDIOCGMBUF &&
_IOC_NR(cmd) < BASE_VIDIOCPRIVATE) {
return v4l_compat_translate_ioctl(file, cmd, arg,
__video_do_ioctl);
}
#endif
and now I don't understand why the V4L1 'v' cmds of Skype are not working
correctly; will add some printf's...
matthias
--
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru at unixarea.de> - w http://www.unixarea.de/
More information about the freebsd-multimedia
mailing list