hopefully remove dependency on v4l 1
This commit is contained in:
parent
d89621bd33
commit
d30f60c70f
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue