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

Giorgio Vazzana mywing81 at gmail.com
Sat Mar 9 12:02:51 CET 2013


2013/3/8 Stefano Sabatini <stefasab at gmail.com>:
> 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.

Sorry, returns EAGAIN of course, not EINVAL.

> What about disabling the call under #if CONFIG_LIBV4L2?

Hmm, which call exactly?

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

Ok.


More information about the ffmpeg-devel mailing list