diff mbox

[FFmpeg-devel,3/3] avcodec/libx264: Reduce loglevel for SEI from INFO to VERBOSE

Message ID 592c28a9.20006fd0.bm002@wupperonline.de
State New
Headers show

Commit Message

Ingo Brückl May 29, 2017, 1:56 p.m. UTC
AV_LOG_INFO is the default and meant for informational output.
The SEI is rather technical and of less interest to a common user.
---
 libavcodec/libx264.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Rostislav Pehlivanov May 29, 2017, 3:21 p.m. UTC | #1
On 29 May 2017 at 14:56, Ingo Brückl <ib@wupperonline.de> wrote:

> AV_LOG_INFO is the default and meant for informational output.
> The SEI is rather technical and of less interest to a common user.
> ---
>  libavcodec/libx264.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
> index bf19332854..ac62904c0a 100644
> --- a/libavcodec/libx264.c
> +++ b/libavcodec/libx264.c
> @@ -828,7 +828,7 @@ FF_ENABLE_DEPRECATION_WARNINGS
>          for (i = 0; i < nnal; i++) {
>              /* Don't put the SEI in extradata. */
>              if (nal[i].i_type == NAL_SEI) {
> -                av_log(avctx, AV_LOG_INFO, "%s\n", nal[i].p_payload+25);
> +                av_log(avctx, AV_LOG_VERBOSE, "%s\n",
> nal[i].p_payload+25);
>                  x4->sei_size = nal[i].i_payload;
>                  x4->sei      = av_malloc(x4->sei_size);
>                  if (!x4->sei)
> --
> 2.12.2
>
> _______________________________________________
> ffmpeg-devel mailing list
> ffmpeg-devel@ffmpeg.org
> http://ffmpeg.org/mailman/listinfo/ffmpeg-devel
>

Read the aac patch response I sent
diff mbox

Patch

diff --git a/libavcodec/libx264.c b/libavcodec/libx264.c
index bf19332854..ac62904c0a 100644
--- a/libavcodec/libx264.c
+++ b/libavcodec/libx264.c
@@ -828,7 +828,7 @@  FF_ENABLE_DEPRECATION_WARNINGS
         for (i = 0; i < nnal; i++) {
             /* Don't put the SEI in extradata. */
             if (nal[i].i_type == NAL_SEI) {
-                av_log(avctx, AV_LOG_INFO, "%s\n", nal[i].p_payload+25);
+                av_log(avctx, AV_LOG_VERBOSE, "%s\n", nal[i].p_payload+25);
                 x4->sei_size = nal[i].i_payload;
                 x4->sei      = av_malloc(x4->sei_size);
                 if (!x4->sei)