On Thu, Feb 14, 2002 at 07:53:28PM +0100, David S wrote:
> Hello,
> 
> when i run avicap for the first time session linux, i always have this.
> 
> <Exception> : v4l1: FATAL: VIDIOCCAPTURE in ::v4l1if
> <Exception> : at v4lxif.cpp<Exception> : : 274
> <Exception> : QComboBox::setCurrentItem: (_VideoChannel) 

I think the bug is here in v4lxif.cpp at top of the constructor for v4l1if:

   //    // capture off
    if ( -1 == ioctl(devv4l, VIDIOCCAPTURE, &zero) )
        throw FATAL("VIDIOCCAPTURE in ::v4l1baseif");

Looking into the sources of /usr/src/linux/drivers/media/video/bttv-driver.c,
it seems that it first checks for valid values in btv->win before setting
capture off, so the error EINVAL can be safely ignored, because these are
not set after a reboot.

Mermgfurt,
Oliver
-- 
Oliver Kurth
mailto:[EMAIL PROTECTED]                         http://leinekanal.de

Attachment: msg02798/pgp00000.pgp
Description: PGP signature

Reply via email to