Browse Source

libavfilter/af_biquads: warn about clipping only after frame with clipping

tags/n3.3
Sergey Kudryashov Paul B Mahol 8 years ago
parent
commit
a9b33b5a37
1 changed files with 1 additions and 0 deletions
  1. +1
    -0
      libavfilter/af_biquads.c

+ 1
- 0
libavfilter/af_biquads.c View File

@@ -420,6 +420,7 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *buf)

if (s->clippings > 0)
av_log(ctx, AV_LOG_WARNING, "clipping %d times. Please reduce gain.\n", s->clippings);
s->clippings = 0;

if (buf != out_buf)
av_frame_free(&buf);


Loading…
Cancel
Save