[vlc-devel] [PATCH] v4l2 userptr fix

Richard Hosking richard at hovis.net
Thu Oct 11 13:17:00 CEST 2007


Userptr IO buffers need to be aligned according to
the V4L2 reference capture c example (which has
been updated with this recently).

Also, the reference program has the device close
operations after the 'free' calls so they have
been moved.

This fixes the issue I was having with my device
crashing vlc on close.

Also fixed a typo in an error message and renamed
a local function which was badly named by me.

Richard.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: v4l2.c.diff
Type: text/x-patch
Size: 3424 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20071011/139ec8b0/attachment.bin>


More information about the vlc-devel mailing list