summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2013-04-24 17:57:06 +0200
committerStanislaw Halik <sthalik@misaki.pl>2013-04-24 17:57:06 +0200
commit2f59cf809c3ed96f28fa53b0671091b5b2a7ce95 (patch)
tree38f0783f9d1dfad83128321ca83c713b0b20ee30
parent1974ce5ede983c85ed66c7a8a366bb8fdf2c410f (diff)
Fix late-night coding bug
-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;