summaryrefslogtreecommitdiffhomepage
path: root/cv/video-widget.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'cv/video-widget.cpp')
-rw-r--r--cv/video-widget.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/cv/video-widget.cpp b/cv/video-widget.cpp
index 8ff252c9..289b9cee 100644
--- a/cv/video-widget.cpp
+++ b/cv/video-widget.cpp
@@ -36,7 +36,7 @@ void cv_video_widget::update_image(const cv::Mat& frame)
else
scaled = &frame;
- int color_cvt = 0;
+ int color_cvt = cv::COLOR_COLORCVT_MAX;
constexpr int nchannels = 4;
switch (scaled->channels())