[FFmpeg-devel] [PATCH] v4l2: add libv4l2 support.
Clément Bœsch
ubitux at gmail.com
Sat Nov 5 15:28:23 CET 2011
On Sat, Nov 05, 2011 at 02:18:19PM +0100, Stefano Sabatini wrote:
> On date Friday 2011-11-04 20:11:40 +0100, Clément Bœsch encoded:
> > On Sun, Oct 30, 2011 at 03:57:41AM +0100, Clément Bœsch wrote:
> > > ---
> > > Here is a patch to support old webcams with exotic colorspaces or insane
> > > drivers using userland libv4l2 (see for instance
> > > http://hansdegoede.livejournal.com/3636.html).
> > >
> > > It seems to work with my personnal crazy webcam, but more tests are welcome.
> > >
> > > I wanted to make the support optional at runtime, but it raises at least one
> > > issue: the context has to be transmitted to all subfunctions, which is not
> > > easily possible in some cases such as mmap_release_buffer() callback. So ATM,
> > > if you build FFmpeg with --enable-libv4l2, then deal with it, you have to use
> > > it...
> > [...]
> >
> > New version attached. I didn't change the strerror() to be consistent with
> > the rest of the code (it can be changed later), but the rest should be
> > fixed.
>
> Fine.
>
> > Still, the runtime support is not present for the issue I raised in the
> > previous mail. But if there is no objection I'd like to push this version
> > in a few days.
>
> Just please mention in the docs that libv4l2 is used in case it is
> enabled in configure.
>
Paragraph added, and pushed.
[...]
--
Clément B.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 490 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20111105/84526e4d/attachment.asc>
More information about the ffmpeg-devel
mailing list