diff mbox

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

Message ID 20190905182735.65987-4-ffmpeg@tmm1.net
State Accepted
Commit f821d1953151ea7b7f1e1eb96ac72529477b021a
Headers show

Commit Message

Aman Karmani Sept. 5, 2019, 6:27 p.m. UTC
From: Aman Gupta <aman@tmm1.net>

Signed-off-by: Aman Gupta <aman@tmm1.net>
---
 libavcodec/mediacodecdec_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Matthieu Bouron Sept. 6, 2019, 7:19 a.m. UTC | #1
On Thu, Sep 05, 2019 at 11:27:33AM -0700, Aman Gupta wrote:
> From: Aman Gupta <aman@tmm1.net>
> 
> Signed-off-by: Aman Gupta <aman@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.
diff mbox

Patch

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;