From d849f51023209a329427910915cd50803bc6edfc Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Wed, 22 Aug 2012 19:24:11 +0400 Subject: [PATCH] Android camera: commented logs in frame callback --- modules/highgui/src/cap_android.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modules/highgui/src/cap_android.cpp b/modules/highgui/src/cap_android.cpp index e188bb6236..d8513f2409 100644 --- a/modules/highgui/src/cap_android.cpp +++ b/modules/highgui/src/cap_android.cpp @@ -461,7 +461,8 @@ void CvCapture_Android::setFrame(const void* buffer, int bufferSize) //copy data cv::Mat m_frameYUV420next_ref = m_frameYUV420next; memcpy(m_frameYUV420next_ref.ptr(), buffer, bufferSize); - LOGD("CvCapture_Android::setFrame -- memcpy is done"); + // LOGD("CvCapture_Android::setFrame -- memcpy is done"); + // ((HighguiAndroidCameraActivity*)m_activity)->LogFramesRate(); m_dataState = CVCAPTURE_ANDROID_STATE_HAS_NEW_FRAME_UNGRABBED; m_waitingNextFrame = false;//set flag that no more frames required at this moment