summaryrefslogtreecommitdiffhomepage
path: root/video/video-widget.hpp
diff options
context:
space:
mode:
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;