Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 22 Mar 2011 07:52:45 +0100
From:      Matthias Apitz <guru@unixarea.de>
To:        Hans Petter Selasky <hselasky@c2i.net>
Cc:        freebsd-multimedia@freebsd.org
Subject:   Re: Webcam recommendations
Message-ID:  <20110322065245.GA2397@tinyCurrent>
In-Reply-To: <201103220006.05449.hselasky@c2i.net>
References:  <20110321112141.GA23421@sh4-5.1blu.de> <201103212337.14833.hselasky@c2i.net> <20110321225253.GA7054@tinyCurrent> <201103220006.05449.hselasky@c2i.net>

next in thread | previous in thread | raw e-mail | index | archive | help
El día Tuesday, March 22, 2011 a las 12:06:05AM +0100, Hans Petter Selasky escribió:

> > v4l1-compat: VIDIOCSPICT / VIDIOC_G_FBUF: -513
> > v4l1-compat: VIDIOCSPICT / VIDIOC_G_FBUF: -513
> > v4l1-compat: VIDIOCGWIN / VIDIOC_G_WIN: -22
> > v4l1-compat: VIDIOCSWIN / VIDIOC_S_FMT #2: -22
> > 
> 
> Probably the format which skype is trying to set is not available? Then you 
> maybe need to pre-load skype with libv4l for Linux. 

$ LD_PRELOAD=/usr/local/lib/libv4l/v4l1compat.so skype
ERROR: ld.so: object '/usr/local/lib/libv4l/v4l1compat.so' from
LD_PRELOAD cannot be preloaded: ignored.

I think, we can not preload our libs, or are you talking about some
other (Linux) object?

> Maybe you could dump the 
> structure associated with the VIDIOC_S_FMT?
> 
> -22 means:
> 
>      22 EINVAL Invalid argument.

will insert printf's in linux/drivers/media/video/v4l1-compat.c;
the -513 is ok?

	matthias

-- 
Matthias Apitz
t +49-89-61308 351 - f +49-89-61308 399 - m +49-170-4527211
e <guru@unixarea.de> - w http://www.unixarea.de/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110322065245.GA2397>