From c48f26919f0c93e2e20a6f80dab70e30accb26d8 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 18 Oct 2021 13:30:05 +0200 Subject: video/kinect: don't return the same frame twice Closes #1026 --- tracker-kinect-face/camera_kinect_ir.cpp | 1 + 1 file changed, 1 insertion(+) (limited to 'tracker-kinect-face') diff --git a/tracker-kinect-face/camera_kinect_ir.cpp b/tracker-kinect-face/camera_kinect_ir.cpp index 81357a6d..e1ef2208 100644 --- a/tracker-kinect-face/camera_kinect_ir.cpp +++ b/tracker-kinect-face/camera_kinect_ir.cpp @@ -232,6 +232,7 @@ namespace Kinect { // Release previous frame if any SafeRelease(iInfraredFrame); + Sleep(34); // FIXME HRESULT hr = iInfraredFrameReader->AcquireLatestFrame(&iInfraredFrame); if (SUCCEEDED(hr)) -- cgit v1.2.3