[FFmpeg-devel] [PATCH 32/35] avfilter/af_hdcd: Drop a redundant log

Andreas Rheinhardt andreas.rheinhardt at outlook.com
Tue Feb 13 19:31:32 EET 2024


Andreas Rheinhardt:
> avfilter_insert_filter() already reports (also with AV_LOG_VERBOSE)
> when a filter is auto-inserted.
> 
> Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt at outlook.com>
> ---
> Can be applied at any time.
> 
>  libavfilter/af_hdcd.c | 3 ---
>  1 file changed, 3 deletions(-)
> 
> diff --git a/libavfilter/af_hdcd.c b/libavfilter/af_hdcd.c
> index a03c9aadf7..9cd483cfc4 100644
> --- a/libavfilter/af_hdcd.c
> +++ b/libavfilter/af_hdcd.c
> @@ -1714,9 +1714,6 @@ static int config_input(AVFilterLink *inlink) {
>      HDCDContext *s = ctx->priv;
>      int c;
>  
> -    av_log(ctx, AV_LOG_VERBOSE, "Auto-convert: %s\n",
> -        (ctx->graph->disable_auto_convert) ? "disabled" : "enabled");
> -
>      if ((inlink->format == AV_SAMPLE_FMT_S16 ||
>           inlink->format == AV_SAMPLE_FMT_S16P) &&
>           s->bits_per_sample != 16) {

Will apply tomorrow unless there are objections.

- Andreas



More information about the ffmpeg-devel mailing list