From 41d7c4d3813b71d0feefb19c69f6a246ea2bdcee Mon Sep 17 00:00:00 2001 From: Matthieu Bouron Date: Mon, 12 Mar 2018 09:10:57 +0100 Subject: [PATCH] avcodec/mediacodecdec_common: make INFO_TRY_AGAIN trace messages more consistent Signed-off-by: Aman Gupta Signed-off-by: Matthieu Bouron --- libavcodec/mediacodecdec_common.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/libavcodec/mediacodecdec_common.c b/libavcodec/mediacodecdec_common.c index 2697af3d08..635ee73486 100644 --- a/libavcodec/mediacodecdec_common.c +++ b/libavcodec/mediacodecdec_common.c @@ -579,7 +579,7 @@ int ff_mediacodec_dec_send(AVCodecContext *avctx, MediaCodecDecContext *s, index = ff_AMediaCodec_dequeueInputBuffer(codec, input_dequeue_timeout_us); if (ff_AMediaCodec_infoTryAgainLater(codec, index)) { - av_log(avctx, AV_LOG_TRACE, "Failed to dequeue input buffer, try again later..\n"); + av_log(avctx, AV_LOG_TRACE, "No input buffer available, try again later\n"); break; } @@ -743,7 +743,7 @@ int ff_mediacodec_dec_receive(AVCodecContext *avctx, MediaCodecDecContext *s, "while draining remaining frames, output will probably lack frames\n", output_dequeue_timeout_us / 1000); } else { - av_log(avctx, AV_LOG_DEBUG, "No output buffer available, try again later\n"); + av_log(avctx, AV_LOG_TRACE, "No output buffer available, try again later\n"); } } else { av_log(avctx, AV_LOG_ERROR, "Failed to dequeue output buffer (status=%zd)\n", index);