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

2024-02-13 Thread Andreas Rheinhardt
Andreas Rheinhardt:
> avfilter_insert_filter() already reports (also with AV_LOG_VERBOSE)
> when a filter is auto-inserted.
> 
> Signed-off-by: Andreas Rheinhardt 
> ---
> 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

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".


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

2024-02-10 Thread Andreas Rheinhardt
avfilter_insert_filter() already reports (also with AV_LOG_VERBOSE)
when a filter is auto-inserted.

Signed-off-by: Andreas Rheinhardt 
---
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) {
-- 
2.34.1

___
ffmpeg-devel mailing list
ffmpeg-devel@ffmpeg.org
https://ffmpeg.org/mailman/listinfo/ffmpeg-devel

To unsubscribe, visit link above, or email
ffmpeg-devel-requ...@ffmpeg.org with subject "unsubscribe".