From e0b37478614be3edc8176fcbf38e92dbf88580d2 Mon Sep 17 00:00:00 2001 From: Andreas Huber Date: Tue, 8 Feb 2011 11:04:08 -0800 Subject: [PATCH] Remove one log message from the VPXDecoder related-to-bug: 3402216 The VPX format supports "internal-only" frames that are referenced by future content but never actually displayed, so this is a perfectly valid scenario that doesn't require a log message. Change-Id: I8330bfdfefcdf4ab66ae6d2b59b99fd9b89350df --- media/libstagefright/codecs/on2/dec/VPXDecoder.cpp | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/media/libstagefright/codecs/on2/dec/VPXDecoder.cpp b/media/libstagefright/codecs/on2/dec/VPXDecoder.cpp index 9433178c0b8c7..489e5ade7341e 100644 --- a/media/libstagefright/codecs/on2/dec/VPXDecoder.cpp +++ b/media/libstagefright/codecs/on2/dec/VPXDecoder.cpp @@ -205,7 +205,9 @@ status_t VPXDecoder::read( vpx_image_t *img = vpx_codec_get_frame((vpx_codec_ctx_t *)mCtx, &iter); if (img == NULL) { - LOGI("on2 decoder did not return a frame."); + // The VPX format supports "internal-only" frames that are + // referenced by future content but never actually displayed, so + // this is a perfectly valid scenario. *out = new MediaBuffer(0); return OK;