summaryrefslogtreecommitdiffhomepage
path: root/video/video-widget.cpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-11 18:55:42 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-11 20:21:35 +0100
commit21632b1143623ed75216a486ad851d865b3ac8a4 (patch)
tree7c2076aeda03c9aff421811ef993dedea6103341 /video/video-widget.cpp
parent4f06a788b13d16ccee332f63c707c476e4b33b7e (diff)
video: less namespace pollution
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);