From 2f59cf809c3ed96f28fa53b0671091b5b2a7ce95 Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Wed, 24 Apr 2013 17:57:06 +0200 Subject: Fix late-night coding bug --- ftnoir_tracker_pt/camera.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'ftnoir_tracker_pt/camera.cpp') 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; -- cgit v1.2.3