[vlc-devel] [PATCH] V4L for FreeBSD userland libv4l{1, 2} wrapper library

Rémi Denis-Courmont remi at remlab.net
Wed Nov 18 13:19:43 CET 2009


On Wed, 18 Nov 2009 11:49:13 +0100, Rafaël Carré <rafael.carre at gmail.com>
wrote:
> We could use v4l2_open(...,. ...|O_CLOEXEC) with O_CLOEXEC defined to 0
> if it's undef.
> 
>
http://linuxtv.org/hg/v4l-dvb/file/e341e9e85af2/v4l2-apps/libv4l/libv4l2/libv4l2.c
> transmits the mode to SYS_OPEN()
> 
> Would it be enough?

No. You still need the fcntl() call to fallback and you still need the
UTF-8 conversion.
I really don't see the value of libv4l on Linux.

-- 
Rémi Denis-Courmont




More information about the vlc-devel mailing list