From 54883f543f45e94810ee48108474efad7f0ba2d6 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 19 Aug 2013 12:42:35 +0200 Subject: Don't assume or use 1ms interval, on Windows it gets rounded to 15.6 ms anyway --- facetracknoir/tracker.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'facetracknoir/tracker.cpp') diff --git a/facetracknoir/tracker.cpp b/facetracknoir/tracker.cpp index 7eedfea1..7292076b 100644 --- a/facetracknoir/tracker.cpp +++ b/facetracknoir/tracker.cpp @@ -203,7 +203,7 @@ void Tracker::run() { } //for lower cpu load - msleep(1); + msleep(16); } for (int i = 0; i < 6; i++) -- cgit v1.2.3