summaryrefslogtreecommitdiffhomepage
path: root/ftnoir_tracker_pt/camera.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'ftnoir_tracker_pt/camera.cpp')
-rw-r--r--ftnoir_tracker_pt/camera.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/ftnoir_tracker_pt/camera.cpp b/ftnoir_tracker_pt/camera.cpp
index 754533c5..33e0ef2a 100644
--- a/ftnoir_tracker_pt/camera.cpp
+++ b/ftnoir_tracker_pt/camera.cpp
@@ -184,11 +184,6 @@ bool CVCamera::_get_frame(Mat* frame)
if (cap && cap->isOpened())
{
Mat img;
- /*
- * XXX some Windows webcams fail to decode first
- * frames and then some every once in a while
- * -sh
- */
for (int i = 0; i < 100 && !cap->read(img); i++)
;;