diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-24 17:57:06 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2013-04-24 17:57:06 +0200 |
commit | 2f59cf809c3ed96f28fa53b0671091b5b2a7ce95 (patch) | |
tree | 38f0783f9d1dfad83128321ca83c713b0b20ee30 /ftnoir_tracker_pt/camera.cpp | |
parent | 1974ce5ede983c85ed66c7a8a366bb8fdf2c410f (diff) |
Fix late-night coding bug
Diffstat (limited to 'ftnoir_tracker_pt/camera.cpp')
-rw-r--r-- | ftnoir_tracker_pt/camera.cpp | 3 |
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;
|