summaryrefslogtreecommitdiffhomepage
path: root/video/video-widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'video/video-widget.cpp')
-rw-r--r--video/video-widget.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/video/video-widget.cpp b/video/video-widget.cpp
index cbb77755..995795fd 100644
--- a/video/video-widget.cpp
+++ b/video/video-widget.cpp
@@ -5,7 +5,7 @@
* copyright notice and this permission notice appear in all copies.
*/
-#ifdef OTR_HAS_OPENCV
+#ifdef OTR_VIDEO_HAS_OPENCV
# include <opencv2/imgproc.hpp>
#endif
@@ -37,7 +37,7 @@ cv_video_widget::cv_video_widget(QWidget* parent) : QWidget(parent)
timer.start(65);
}
-#ifdef OTR_HAS_OPENCV
+#ifdef OTR_VIDEO_HAS_OPENCV
void cv_video_widget::update_image(const cv::Mat& frame)
{
QMutexLocker l(&mtx);