summaryrefslogtreecommitdiffhomepage
path: root/tracker-pt/camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tracker-pt/camera.cpp')
-rw-r--r--tracker-pt/camera.cpp4
1 files changed, 0 insertions, 4 deletions
diff --git a/tracker-pt/camera.cpp b/tracker-pt/camera.cpp
index 94a9d314..f2fdb283 100644
--- a/tracker-pt/camera.cpp
+++ b/tracker-pt/camera.cpp
@@ -6,7 +6,6 @@
*/
#include "camera.h"
-#include "compat/sleep.hpp"
#include "compat/camera-names.hpp"
#include <string>
#include <QDebug>
@@ -109,9 +108,6 @@ void CVCamera::stop()
}
delete cap;
cap = nullptr;
- // give opencv time to exit camera threads, etc.
- if (opened)
- portable::sleep(500);
qDebug() << "pt camera: stopped";
}
}