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
This commit is contained in:
parent
a80be4b23c
commit
8685af7ea0
@ -264,8 +264,6 @@ int32_t VideoCaptureImpl::IncomingFrame(
|
|||||||
"IncomingFrame width %d, height %d", (int) frameInfo.width,
|
"IncomingFrame width %d, height %d", (int) frameInfo.width,
|
||||||
(int) frameInfo.height);
|
(int) frameInfo.height);
|
||||||
|
|
||||||
TickTime startProcessTime = TickTime::Now();
|
|
||||||
|
|
||||||
CriticalSectionScoped cs(&_callBackCs);
|
CriticalSectionScoped cs(&_callBackCs);
|
||||||
|
|
||||||
const int32_t width = frameInfo.width;
|
const int32_t width = frameInfo.width;
|
||||||
@ -334,15 +332,6 @@ int32_t VideoCaptureImpl::IncomingFrame(
|
|||||||
return -1;
|
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;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user