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

Rémi Denis-Courmont remi at remlab.net
Tue Nov 17 16:59:58 CET 2009


Le dimanche 15 novembre 2009 20:26:32 Buganini, vous avez écrit :
> v4l.c
> change open/close/mmap/munmap/ioctl to v4l1_ macro/function
> check HAVE_LIBV4L1, like HAVE_LIBV4L2 in v4l2.c
> 
> v4l.c v4l2.c
> check HAVE_V4L1_OPEN, HAVE_V4L2_OPEN to determine whether to use
>  v4l{1,2}_open() v4l{1,2}_open() is used for FreeBSD's userland V4L wrapper
>  library

Do those functions set the close-on-exec flag? If not, you may have a problem 
(because VLC does fork-and-exec in other threads).


-- 
Rémi Denis-Courmont
http://www.remlab.net/



More information about the vlc-devel mailing list