mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-01-24 13:56:33 +02:00
libavfilter/af_biquads: warn about clipping only after frame with clipping
This commit is contained in:
parent
f7191ccad6
commit
a9b33b5a37
@ -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…
x
Reference in New Issue
Block a user