From 9484355137e7cb1037e635d9eb74127258e7edbb Mon Sep 17 00:00:00 2001 From: Andrey Kamaev Date: Thu, 9 Jun 2011 12:04:10 +0000 Subject: [PATCH] Reduced logs count in Android camera --- modules/highgui/src/cap_android.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/highgui/src/cap_android.cpp b/modules/highgui/src/cap_android.cpp index 8ba3d3afb8..26fe28e919 100644 --- a/modules/highgui/src/cap_android.cpp +++ b/modules/highgui/src/cap_android.cpp @@ -316,7 +316,7 @@ bool CvCapture_Android::grabFrame() } if (m_dataState == CVCAPTURE_ANDROID_STATE_HAS_NEW_FRAME_UNGRABBED) { - LOGD("CvCapture_Android::grabFrame: get new frame"); + //LOGD("CvCapture_Android::grabFrame: get new frame"); //swap current and new frames unsigned char* tmp = m_frameYUV420i; m_frameYUV420i = m_frameYUV420inext; @@ -400,7 +400,7 @@ void CvCapture_Android::setFrame(const void* buffer, int bufferSize) //copy data memcpy(m_frameYUV420inext, buffer, bufferSize); - LOGD("CvCapture_Android::setFrame -- memcpy is done"); + //LOGD("CvCapture_Android::setFrame -- memcpy is done"); #if 0 //moved this part of code into grabFrame //swap current and new frames