diff mbox

[FFmpeg-devel,1/2] avcodec/mediacodec: reduce loglevel for per-frame logging

Message ID 20180306213320.4459-1-ffmpeg@tmm1.net
State Accepted
Commit c22e7b00e4b9359a5cfe27495d9c4b6e6f53fda2
Headers show

Commit Message

Aman Karmani March 6, 2018, 9:33 p.m. UTC
From: Aman Gupta <aman@tmm1.net>

---
 libavcodec/mediacodecdec_common.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Matthieu Bouron March 6, 2018, 9:37 p.m. UTC | #1
On Tue, Mar 06, 2018 at 01:33:19PM -0800, Aman Gupta wrote:
> From: 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 929db78361..0bd660f7c9 100644
> --- a/libavcodec/mediacodecdec_common.c
> +++ b/libavcodec/mediacodecdec_common.c
> @@ -297,7 +297,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
>  #endif
>      frame->pkt_dts = AV_NOPTS_VALUE;
>  
> -    av_log(avctx, AV_LOG_DEBUG,
> +    av_log(avctx, AV_LOG_TRACE,
>              "Frame: width=%d stride=%d height=%d slice-height=%d "
>              "crop-top=%d crop-bottom=%d crop-left=%d crop-right=%d encoder=%s\n"
>              "destination linesizes=%d,%d,%d\n" ,
> -- 
> 2.14.2
> 

LGTM.
diff mbox

Patch

diff --git a/libavcodec/mediacodecdec_common.c b/libavcodec/mediacodecdec_common.c
index 929db78361..0bd660f7c9 100644
--- a/libavcodec/mediacodecdec_common.c
+++ b/libavcodec/mediacodecdec_common.c
@@ -297,7 +297,7 @@  FF_ENABLE_DEPRECATION_WARNINGS
 #endif
     frame->pkt_dts = AV_NOPTS_VALUE;
 
-    av_log(avctx, AV_LOG_DEBUG,
+    av_log(avctx, AV_LOG_TRACE,
             "Frame: width=%d stride=%d height=%d slice-height=%d "
             "crop-top=%d crop-bottom=%d crop-left=%d crop-right=%d encoder=%s\n"
             "destination linesizes=%d,%d,%d\n" ,