diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-10-18 13:30:05 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-10-18 13:34:47 +0200 |
commit | c48f26919f0c93e2e20a6f80dab70e30accb26d8 (patch) | |
tree | 76c1c228b2d490aae6c687c28149ba81f339ff85 | |
parent | ec6de4132a65ae845e82389d3ba46c324f714859 (diff) |
video/kinect: don't return the same frame twice
Closes #1026
-rw-r--r-- | tracker-kinect-face/camera_kinect_ir.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
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)) |