From 89d5870138a4ad26c00cddb209ebe5312fe85dc3 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 20 Mar 2019 10:26:07 +0100 Subject: tracker/pt: fix previous commit --- tracker-pt/module/camera.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'tracker-pt/module') diff --git a/tracker-pt/module/camera.cpp b/tracker-pt/module/camera.cpp index a17aaffb..a70698de 100644 --- a/tracker-pt/module/camera.cpp +++ b/tracker-pt/module/camera.cpp @@ -141,7 +141,7 @@ bool Camera::get_frame_(cv::Mat& img) int stride = frame.stride; if (stride == 0) stride = cv::Mat::AUTO_STEP; - img = cv::Mat(frame.height, frame.width, CV_8UC(frame.channels), (void*)frame.data, frame.stride); + img = cv::Mat(frame.height, frame.width, CV_8UC(frame.channels), (void*)frame.data, stride); return true; } } -- cgit v1.2.3