[FFmpeg-devel] [PATCH] lavd/v4l2: silence libv4l2 logging

Stefano Sabatini stefasab at gmail.com
Fri Mar 8 19:10:34 CET 2013


On date Friday 2013-03-08 13:06:57 +0100, Giorgio Vazzana encoded:
> 2013/3/8 Giorgio Vazzana <mywing81 at gmail.com>:
> > Hello,
> >
> > a user pointed out in ticket #1570 that when ffmpeg is compiled with
> > --enable-lib4vl2 the terminal gets spammed with this message:
> >
> > libv4l2: error dequeuing buf: Resource temporarily unavailable
> >

> > This is because libv4l2 opens the device in non-blocking mode, so the
> > ioctl VIDIOC_DQBUF returns EINVAL and that message gets displayed.

What about disabling the call under #if CONFIG_LIBV4L2?

Then I suppose it is OK to disable logging, if we can't integrate it
with our logging system through a log wrapper.

[...]
-- 
FFmpeg = Formidable & Frightening Moronic Perfectionist Eager Gadget


More information about the ffmpeg-devel mailing list