Commit 836048ab authored by diego's avatar diego

Add video4linux2 detection to configure.

patch by Luca Abeni, lucabe72*at*email*dot*it


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@4963 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent 9f4f9c33
......@@ -1244,6 +1244,15 @@ ipv6=yes
fi
fi
if test "$v4l2" = "yes"; then
# check for video4linux2 --- V4L2_PIX_FMT_YUV420
cat > $TMPC << EOF
#include <linux/videodev.h>
int dummy = V4L2_PIX_FMT_YUV420;
EOF
$cc -c -o $TMPE $TMPC 2> /dev/null || v4l2="no"
fi
case "`$cc -v 2>&1 | grep version`" in
*gcc*)
CFLAGS="-Wall -Wno-switch $CFLAGS"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment