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.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/ftnoir_tracker_pt/camera.cpp b/ftnoir_tracker_pt/camera.cpp
index 90fcfaaf..fe39b436 100644
--- a/ftnoir_tracker_pt/camera.cpp
+++ b/ftnoir_tracker_pt/camera.cpp
@@ -90,8 +90,7 @@ void CVCamera::stop()
bool CVCamera::_get_frame(Mat* frame)
{
- Mat tmp;
- bool ret = cap->read(tmp);
+ bool ret = cap->read(*frame);
//if (ret)
// flip(tmp, *frame, 0);
return ret;