summaryrefslogtreecommitdiffhomepage
path: root/video/video-widget.hpp
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.hpp
parent4f06a788b13d16ccee332f63c707c476e4b33b7e (diff)
video: less namespace pollution
Diffstat (limited to 'video/video-widget.hpp')
-rw-r--r--video/video-widget.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/video/video-widget.hpp b/video/video-widget.hpp
index 2393db2e..3e39dd93 100644
--- a/video/video-widget.hpp
+++ b/video/video-widget.hpp
@@ -12,7 +12,7 @@
#include <vector>
-#ifdef OTR_HAS_OPENCV
+#ifdef OTR_VIDEO_HAS_OPENCV
# include <opencv2/core.hpp>
#endif
@@ -27,7 +27,7 @@ class cv_video_widget final : public QWidget
public:
cv_video_widget(QWidget *parent);
-#ifdef OTR_HAS_OPENCV
+#ifdef OTR_VIDEO_HAS_OPENCV
void update_image(const cv::Mat& frame);
#endif
void update_image(const QImage& image);
@@ -42,7 +42,7 @@ private:
std::vector<unsigned char> vec;
QTimer timer;
-#ifdef OTR_HAS_OPENCV
+#ifdef OTR_VIDEO_HAS_OPENCV
cv::Mat frame2, frame3;
#endif
bool freshp = false;