From 8685af7ea07bfb14b9fc83b6c3084d535b456ccf Mon Sep 17 00:00:00 2001 From: "fischman@webrtc.org" Date: Tue, 11 Feb 2014 17:48:11 +0000 Subject: [PATCH] Remove "Too long processing time of Incoming frame" logspam. This isn't indicative of anything actionable and spams android logcat with times in the 10-30ms range several times per second. BUG=2732 R=mflodman@webrtc.org Review URL: https://webrtc-codereview.appspot.com/8419004 git-svn-id: http://webrtc.googlecode.com/svn/trunk@5527 4adac7df-926f-26a2-2b94-8c16560cd09d --- webrtc/modules/video_capture/video_capture_impl.cc | 11 ----------- 1 file changed, 11 deletions(-) diff --git a/webrtc/modules/video_capture/video_capture_impl.cc b/webrtc/modules/video_capture/video_capture_impl.cc index 06b4a2089..e83c7a469 100644 --- a/webrtc/modules/video_capture/video_capture_impl.cc +++ b/webrtc/modules/video_capture/video_capture_impl.cc @@ -264,8 +264,6 @@ int32_t VideoCaptureImpl::IncomingFrame( "IncomingFrame width %d, height %d", (int) frameInfo.width, (int) frameInfo.height); - TickTime startProcessTime = TickTime::Now(); - CriticalSectionScoped cs(&_callBackCs); const int32_t width = frameInfo.width; @@ -334,15 +332,6 @@ int32_t VideoCaptureImpl::IncomingFrame( return -1; } - const uint32_t processTime = - (uint32_t)(TickTime::Now() - startProcessTime).Milliseconds(); - if (processTime > 10) // If the process time is too long MJPG will not work well. - { - WEBRTC_TRACE(webrtc::kTraceWarning, webrtc::kTraceVideoCapture, _id, - "Too long processing time of Incoming frame: %ums", - (unsigned int) processTime); - } - return 0; }