summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
-rw-r--r--tracker-kinect-face/camera_kinect_ir.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/tracker-kinect-face/camera_kinect_ir.cpp b/tracker-kinect-face/camera_kinect_ir.cpp
index 8a2f6bcb..b1975db9 100644
--- a/tracker-kinect-face/camera_kinect_ir.cpp
+++ b/tracker-kinect-face/camera_kinect_ir.cpp
@@ -98,7 +98,7 @@ std::tuple<const video::impl::frame&, bool> CameraKinectIr::get_frame()
iFrame.data = iMatFrame.ptr();
iFrame.width = 512;
iFrame.height = 424;
- iFrame.stride = 0; // Auto step
+ iFrame.stride = cv::Mat::AUTO_STEP;
iFrame.channels = 3;
return { iFrame, new_frame };
}