mirror of https://git.ffmpeg.org/ffmpeg.git
avfilter/af_asetnsamples: use correct function
This commit is contained in:
parent
3a2adeedaf
commit
ecdaa4b4fa
|
@ -69,7 +69,7 @@ static int activate(AVFilterContext *ctx)
|
|||
if (ret > 0) {
|
||||
if ((!s->pad || (s->pad && frame->nb_samples == s->nb_out_samples))) {
|
||||
ret = ff_filter_frame(outlink, frame);
|
||||
if (ff_framequeue_queued_samples(inlink) >= s->nb_out_samples)
|
||||
if (ff_inlink_queued_samples(inlink) >= s->nb_out_samples)
|
||||
ff_filter_set_ready(ctx, 100);
|
||||
return ret;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue