Browse Source

avcodec/mediacodecdec_common: make INFO_TRY_AGAIN trace messages more consistent

Signed-off-by: Aman Gupta <aman@tmm1.net>
Signed-off-by: Matthieu Bouron <matthieu.bouron@gmail.com>
tags/n4.0
Matthieu Bouron 7 years ago
parent
commit
41d7c4d381
1 changed files with 2 additions and 2 deletions
  1. +2
    -2
      libavcodec/mediacodecdec_common.c

+ 2
- 2
libavcodec/mediacodecdec_common.c View File

@@ -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);


Loading…
Cancel
Save