avfilter/af_dynaudnorm: do not enqueue flush buffers
This commit is contained in:
parent
12c4d00c10
commit
ed02563ce0
|
@ -686,10 +686,14 @@ static int filter_frame(AVFilterLink *inlink, AVFrame *in)
|
||||||
ret = ff_filter_frame(outlink, out);
|
ret = ff_filter_frame(outlink, out);
|
||||||
}
|
}
|
||||||
|
|
||||||
av_frame_make_writable(in);
|
if (!s->eof) {
|
||||||
cqueue_enqueue(s->is_enabled, !ctx->is_disabled);
|
av_frame_make_writable(in);
|
||||||
analyze_frame(s, in);
|
cqueue_enqueue(s->is_enabled, !ctx->is_disabled);
|
||||||
ff_bufqueue_add(ctx, &s->queue, in);
|
analyze_frame(s, in);
|
||||||
|
ff_bufqueue_add(ctx, &s->queue, in);
|
||||||
|
} else {
|
||||||
|
av_frame_free(&in);
|
||||||
|
}
|
||||||
|
|
||||||
return ret;
|
return ret;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue
Block a user