[Ffmpeg-cvslog] r7908 - trunk/configure

Luca Abeni lucabe72
Sun Feb 11 18:44:18 CET 2007


On Sat, 2007-02-10 at 22:30 +0100, mru wrote:
> -# check for video4linux2 --- V4L2_PIX_FMT_YUV420
> -enabled video4linux2 && check_cc <<EOF || video4linux2="no"
> -#include <sys/time.h>
> -#include <asm/types.h>
> -#include <linux/videodev2.h>
> -int dummy = V4L2_PIX_FMT_YUV420;
> -struct v4l2_buffer dummy1;
> -EOF
> +enabled video4linux2 && check_header linux/videodev2.h || disable video4linux2
I am not sure, but I suspect this might break v4l2 detection on broken
systems (we had reports of systems where "non-sanitized" v4l2 headers
are installed).

At least, I had reports of systems (I think it was fedora core
something) where videodev2.h presence was detected, but
V4L2_PIX_FMT_YUV420 was not defined... So, video4linux2 was detected,
but compilation failed while trying to build v4l2.c.

Anyway, maybe those broken distributions are not around anymore... Let's


More information about the ffmpeg-cvslog mailing list