Originally committed as revision 4963 to svn://svn.ffmpeg.org/ffmpeg/trunk
Luca Abeni authored on 2006/02/09 00:55:41... | ... |
@@ -1244,6 +1244,15 @@ ipv6=yes |
1244 | 1244 |
fi |
1245 | 1245 |
fi |
1246 | 1246 |
|
1247 |
+if test "$v4l2" = "yes"; then |
|
1248 |
+# check for video4linux2 --- V4L2_PIX_FMT_YUV420 |
|
1249 |
+cat > $TMPC << EOF |
|
1250 |
+#include <linux/videodev.h> |
|
1251 |
+int dummy = V4L2_PIX_FMT_YUV420; |
|
1252 |
+EOF |
|
1253 |
+$cc -c -o $TMPE $TMPC 2> /dev/null || v4l2="no" |
|
1254 |
+fi |
|
1255 |
+ |
|
1247 | 1256 |
case "`$cc -v 2>&1 | grep version`" in |
1248 | 1257 |
*gcc*) |
1249 | 1258 |
CFLAGS="-Wall -Wno-switch $CFLAGS" |