diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2014-06-14 18:33:23 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2014-06-14 18:33:23 +0200 |
commit | 8e6d217dca098b5b508dc09185abeda3331fc4e7 (patch) | |
tree | 7048434c9bfbac708850b8b047608ea1959489ef /facetracknoir/tracker.h | |
parent | ac2f93f6dbd16b4283987cc18f55d3a66eadcced (diff) |
tracker: reduce sleep if taking too long
Diffstat (limited to 'facetracknoir/tracker.h')
-rw-r--r-- | facetracknoir/tracker.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/facetracknoir/tracker.h b/facetracknoir/tracker.h index a33d8e0d..46440c32 100644 --- a/facetracknoir/tracker.h +++ b/facetracknoir/tracker.h @@ -18,6 +18,7 @@ #include "tracker_types.h" #include "facetracknoir/main-settings.hpp" #include "facetracknoir/options.h" +#include "facetracknoir/timer.hpp" using namespace options; class FaceTrackNoIR; // pre-define parent-class to avoid circular includes @@ -59,6 +60,7 @@ private: QMutex mtx; main_settings& s; volatile bool should_quit; + Timer t; protected: void run(); |