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