diff mbox series

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

Message ID DU0P250MB0747E555705A01A5225186DE8F4A2@DU0P250MB0747.EURP250.PROD.OUTLOOK.COM
State Accepted
Commit 8a2c8687bdb03fd2da9734c1340046f157458ca4
Headers show
Series Major library version bump | expand

Checks

Context Check Description
yinshiyou/configure_loongarch64 warning Failed to apply patch
andriy/configure_x86 warning Failed to apply patch

Commit Message

Andreas Rheinhardt Feb. 10, 2024, 11:04 p.m. UTC
avfilter_insert_filter() already reports (also with AV_LOG_VERBOSE)
when a filter is auto-inserted.

Signed-off-by: Andreas Rheinhardt <andreas.rheinhardt@outlook.com>
---
Can be applied at any time.

 libavfilter/af_hdcd.c | 3 ---
 1 file changed, 3 deletions(-)

Comments

Andreas Rheinhardt Feb. 13, 2024, 5:31 p.m. UTC | #1
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@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
diff mbox series

Patch

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) {