Commit 41d7c4d3 authored by Matthieu Bouron's avatar Matthieu Bouron

avcodec/mediacodecdec_common: make INFO_TRY_AGAIN trace messages more consistent

Signed-off-by: 's avatarAman Gupta <aman@tmm1.net>
Signed-off-by: 's avatarMatthieu Bouron <matthieu.bouron@gmail.com>
parent 936312d1
...@@ -579,7 +579,7 @@ int ff_mediacodec_dec_send(AVCodecContext *avctx, MediaCodecDecContext *s, ...@@ -579,7 +579,7 @@ int ff_mediacodec_dec_send(AVCodecContext *avctx, MediaCodecDecContext *s,
index = ff_AMediaCodec_dequeueInputBuffer(codec, input_dequeue_timeout_us); index = ff_AMediaCodec_dequeueInputBuffer(codec, input_dequeue_timeout_us);
if (ff_AMediaCodec_infoTryAgainLater(codec, index)) { 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; break;
} }
...@@ -743,7 +743,7 @@ int ff_mediacodec_dec_receive(AVCodecContext *avctx, MediaCodecDecContext *s, ...@@ -743,7 +743,7 @@ int ff_mediacodec_dec_receive(AVCodecContext *avctx, MediaCodecDecContext *s,
"while draining remaining frames, output will probably lack frames\n", "while draining remaining frames, output will probably lack frames\n",
output_dequeue_timeout_us / 1000); output_dequeue_timeout_us / 1000);
} else { } 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 { } else {
av_log(avctx, AV_LOG_ERROR, "Failed to dequeue output buffer (status=%zd)\n", index); av_log(avctx, AV_LOG_ERROR, "Failed to dequeue output buffer (status=%zd)\n", index);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment