[FFmpeg-devel] [PATCH] lavd/v4l2: sanitize logic of device_try_init(), so that it properly signal errors

Stefano Sabatini stefasab at gmail.com
Tue Jan 15 22:19:52 CET 2013


On date Tuesday 2013-01-15 13:29:14 +0100, Stefano Sabatini encoded:
> On date Tuesday 2013-01-15 12:48:42 +0100, Stefano Sabatini encoded:
> > Make device_try_init() return an error value, and allow to properly
> > report errors which are not due to a wrong pixel/codec configuration.
> > 
> > In particular, report intelligible feedback in case of busy device.
> > ---
> >  libavdevice/v4l2.c |   64 ++++++++++++++++++++++++++++------------------------
> >  1 file changed, 34 insertions(+), 30 deletions(-)
> 
> Second attempt.

And third attempt (the previous one was apparently an old patch).
-- 
FFmpeg = Free and Freak Mournful Pure Exxagerate Goblin
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-lavd-v4l2-sanitize-logic-of-device_try_init-so-that-.patch
Type: text/x-diff
Size: 4991 bytes
Desc: not available
URL: <http://ffmpeg.org/pipermail/ffmpeg-devel/attachments/20130115/2701b316/attachment.bin>


More information about the ffmpeg-devel mailing list