hopefully remove dependency on v4l 1

This commit is contained in:
rdb 2011-05-21 18:59:58 +00:00
parent d89621bd33
commit d30f60c70f
2 changed files with 0 additions and 10 deletions

View File

@ -19,7 +19,6 @@
#include <fcntl.h>
#include <sys/mman.h>
#include <sys/ioctl.h>
#include <linux/videodev.h>
#include <linux/videodev2.h>
#ifdef HAVE_JPEG

View File

@ -21,7 +21,6 @@
#include <fcntl.h>
#include <sys/ioctl.h>
#include <linux/videodev.h>
#include <linux/videodev2.h>
TypeHandle WebcamVideoV4L::_type_handle;
@ -113,14 +112,6 @@ void find_all_webcams_v4l() {
continue;
}
}
// Check for Video4Linux capabilities
if (ioctl(fd, VIDIOCGCAP, &cap) != -1) {
if (cap.type & VID_TYPE_CAPTURE) {
//TODO: Video4Linux support
continue;
}
}
}
close(fd);
}