mirror of
https://github.com/FFmpeg/FFmpeg.git
synced 2025-03-03 14:32:16 +02:00
avfilter/af_adeclick: stop outputing pointless message
This commit is contained in:
parent
3d85892052
commit
3e04f53571
@ -734,6 +734,7 @@ static av_cold void uninit(AVFilterContext *ctx)
|
|||||||
AudioDeclickContext *s = ctx->priv;
|
AudioDeclickContext *s = ctx->priv;
|
||||||
int i;
|
int i;
|
||||||
|
|
||||||
|
if (s->nb_samples > 0)
|
||||||
av_log(ctx, AV_LOG_INFO, "Detected %s in %"PRId64" of %"PRId64" samples (%g%%).\n",
|
av_log(ctx, AV_LOG_INFO, "Detected %s in %"PRId64" of %"PRId64" samples (%g%%).\n",
|
||||||
s->is_declip ? "clips" : "clicks", s->detected_errors,
|
s->is_declip ? "clips" : "clicks", s->detected_errors,
|
||||||
s->nb_samples, 100. * s->detected_errors / s->nb_samples);
|
s->nb_samples, 100. * s->detected_errors / s->nb_samples);
|
||||||
|
Loading…
x
Reference in New Issue
Block a user