[FFmpeg-devel] [PATCH 4/6] avcodec/mediacodecdec_common: improve trace logging for end-of-stream

Matthieu Bouron matthieu.bouron at gmail.com
Fri Sep 6 10:19:30 EEST 2019


On Thu, Sep 05, 2019 at 11:27:33AM -0700, Aman Gupta wrote:
> From: Aman Gupta <aman at tmm1.net>
> 
> Signed-off-by: Aman Gupta <aman at tmm1.net>
> ---
>  libavcodec/mediacodecdec_common.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libavcodec/mediacodecdec_common.c b/libavcodec/mediacodecdec_common.c
> index eae9c28d42..c538a00775 100644
> --- a/libavcodec/mediacodecdec_common.c
> +++ b/libavcodec/mediacodecdec_common.c
> @@ -632,7 +632,7 @@ int ff_mediacodec_dec_send(AVCodecContext *avctx, MediaCodecDecContext *s,
>              }
>  
>              av_log(avctx, AV_LOG_TRACE,
> -                   "Queued input buffer %zd size=%zd ts=%"PRIi64"\n", index, size, pts);
> +                   "Queued empty EOS input buffer %zd with flags=%d\n", index, flags);
>  
>              s->draining = 1;
>              return 0;
> -- 
> 2.20.1
> 

LGTM.

-- 
Matthieu B.


More information about the ffmpeg-devel mailing list