OpenCV-2.2-nov4l1.patch
OpenCV-2.2.0/modules/highgui/src/cap_v4l.cpp 2011-02-02 16:53:22.224244002 +0100 | ||
---|---|---|
214 | 214 |
#include <sys/types.h> |
215 | 215 |
#include <sys/mman.h> |
216 | 216 | |
217 |
#ifdef HAVE_CAMV4L |
|
217 | 218 |
#include <linux/videodev.h> |
219 |
#endif |
|
218 | 220 | |
219 | 221 |
#include <string.h> |
220 | 222 |
#include <stdlib.h> |
OpenCV-2.2.0/modules/highgui/src/cap.cpp 2011-02-04 15:11:22.040244001 +0100 | ||
---|---|---|
171 | 171 |
if (capture) |
172 | 172 |
return capture; |
173 | 173 |
#endif |
174 |
#if defined (HAVE_CAMV4L) || defined (HAVE_CAMV4L2)
|
|
174 |
#if defined (HAVE_CAMV4L) |
|
175 | 175 |
capture = cvCreateCameraCapture_V4L (index); |
176 | 176 |
if (capture) |
177 | 177 |
return capture; |