diff options
author | Sergey Kudryashov <skudryas@gmail.com> | 2017-01-12 17:38:58 +0300 |
---|---|---|
committer | Paul B Mahol <onemda@gmail.com> | 2017-01-12 19:52:29 +0100 |
commit | a9b33b5a37ad86b111292fe85e5df1a72191e3a5 (patch) | |
tree | 0731e362f8dfc4eae30797314eecb945b40ff359 /libavfilter | |
parent | f7191ccad663530c3fedbbefb9194a5c40fe927f (diff) | |
download | ffmpeg-streaming-a9b33b5a37ad86b111292fe85e5df1a72191e3a5.zip ffmpeg-streaming-a9b33b5a37ad86b111292fe85e5df1a72191e3a5.tar.gz |
libavfilter/af_biquads: warn about clipping only after frame with clipping
Diffstat (limited to 'libavfilter')
-rw-r--r-- | libavfilter/af_biquads.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavfilter/af_biquads.c b/libavfilter/af_biquads.c index 4953202..79f1b7c 100644 --- a/libavfilter/af_biquads.c +++ b/libavfilter/af_biquads.c @@ -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); |