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:
a77a93a
)
#1782 Threading optimization of OpenNI wrapper is disabled for TBB < 3.0
author
Andrey Kamaev
<no@email>
Wed, 11 Apr 2012 13:08:17 +0000
(13:08 +0000)
committer
Andrey Kamaev
<no@email>
Wed, 11 Apr 2012 13:08:17 +0000
(13:08 +0000)
modules/highgui/src/cap_openni.cpp
patch
|
blob
|
history
diff --git
a/modules/highgui/src/cap_openni.cpp
b/modules/highgui/src/cap_openni.cpp
index
46df5ce
..
3cc367a
100644
(file)
--- a/
modules/highgui/src/cap_openni.cpp
+++ b/
modules/highgui/src/cap_openni.cpp
@@
-44,6
+44,10
@@
#ifdef HAVE_OPENNI
+#if TBB_INTERFACE_VERSION < 5000
+# undef HAVE_TBB
+#endif
+
#include <iostream>
#include <queue>
#include "XnCppWrapper.h"