Commit f8927dda authored by mru's avatar mru

simplify video4linux2 test


git-svn-id: file:///var/local/repositories/ffmpeg/trunk@7908 9553f0bf-9b14-0410-a0b8-cfaf0461ba5b
parent dcc263a4
...@@ -1775,14 +1775,7 @@ int main( void ) { ...@@ -1775,14 +1775,7 @@ int main( void ) {
} }
EOF EOF
# check for video4linux2 --- V4L2_PIX_FMT_YUV420 enabled video4linux2 && check_header linux/videodev2.h || disable video4linux2
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
# check for ioctl_meteor.h, ioctl_bt848.h and alternatives # check for ioctl_meteor.h, ioctl_bt848.h and alternatives
if enabled bktr; then if enabled bktr; then
......
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