From 4a5c75c7ec2cb2becd942579ad9a80dc534fbd37 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Sat, 25 May 2019 17:37:29 +0200 Subject: cv: fix logic error --- cv/video-widget.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cv/video-widget.cpp') 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()) -- cgit v1.2.3