projects
/
platform
/
upstream
/
opencv.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
01b3266
)
fix for capture
author
hartmut
<no@email>
Thu, 30 Jun 2011 14:57:27 +0000
(14:57 +0000)
committer
hartmut
<no@email>
Thu, 30 Jun 2011 14:57:27 +0000
(14:57 +0000)
modules/highgui/src/cap.cpp
patch
|
blob
|
history
diff --git
a/modules/highgui/src/cap.cpp
b/modules/highgui/src/cap.cpp
index
0914822
..
72648f2
100644
(file)
--- a/
modules/highgui/src/cap.cpp
+++ b/
modules/highgui/src/cap.cpp
@@
-127,8
+127,12
@@
CV_IMPL CvCapture * cvCreateCameraCapture (int index)
CV_CAP_MIL,
CV_CAP_QT,
CV_CAP_UNICAP,
+#ifdef HAVE_OPENNI
CV_CAP_OPENNI,
+#endif
+#ifdef HAVE_ANDROID_NATIVE_CAMERA
CV_CAP_ANDROID,
+#endif
-1
};