[vlc-devel] [PATCH] V4L for FreeBSD userland libv4l{1, 2} wrapper library
Rafaël Carré
rafael.carre at gmail.com
Tue Nov 17 15:55:59 CET 2009
On Tue, 17 Nov 2009 22:51:54 +0800
Buganini <buganini at gmail.com> wrote:
> On Tue, Nov 17, 2009 at 10:05 PM, Rafaël Carré
> <rafael.carre at gmail.com> wrote:
> > Why not the same way the other function pointers are stored? (as
> > p_sys members)
>
> http://zeta.twbbs.org/~buganini/vlc/1.0001-v4l2-use-v4l2_open-for-use-of-libv4l2.patch
Hm you didn't test your change!
You mixed v4l_open() and v4l2_open()
> > I asked this more to know if v4l2 is available with kernel
> > open/ioctl, and I see it's available so the code will be the same
> > for Linux / FreeBSD
>
> Currently the wrapper library we use is completely running in
> userland. There is no /dev/videoX device files, the wrapper has its
> own v4lx_open_wrapper function,
> it perform device probing and open /dev/ugen* device file then return.
> the function is used for SYS_OPEN in
> http://linuxtv.org/hg/v4l-dvb/file/e341e9e85af2/v4l2-apps/libv4l/libv4l2/libv4l2.c
> so the ioctl.
If v4l2 can't be used in "kernel mode" then the use_kernel_v4l2 case
should be commented out for FreeBSD.
If you prefer I can do this part
--
Rafaël Carré
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 197 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20091117/2fc69b3a/attachment.sig>
More information about the vlc-devel
mailing list