Temporary remove spamming MediaDecoder log

This log will write for each decoded frame if the textures are rendered using VideoRenderGUI
and the the screen is locked.

TBR=glaznew@webrtc.org

Review URL: https://codereview.webrtc.org/1465093004

Cr-Commit-Position: refs/heads/master@{#10771}
This commit is contained in:
perkj 2015-11-24 06:26:38 -08:00 committed by Commit bot
parent 92f8dbde77
commit 7baf79fb9e

View File

@ -609,8 +609,10 @@ public class MediaCodecVideoDecoder {
// mediaCodec.releaseOutputBuffer has already been called.
final DecodedOutputBuffer droppedFrame = dequeuedSurfaceOutputBuffers.remove();
if (dequeueTimeoutMs > 0) {
Logging.w(TAG, "Draining decoder. Dropping frame with TS: "
+ droppedFrame.timeStampMs + ". Total number of dropped frames: " + droppedFrames);
// TODO(perkj): Re-add the below log when VideoRenderGUI has been removed or fixed to
// return the one and only texture even if it does not render.
// Logging.w(TAG, "Draining decoder. Dropping frame with TS: "
// + droppedFrame.timeStampMs + ". Total number of dropped frames: " + droppedFrames);
} else {
Logging.w(TAG, "Too many output buffers. Dropping frame with TS: "
+ droppedFrame.timeStampMs + ". Total number of dropped frames: " + droppedFrames);