avfilter/af_aresample: make aresample return FFERROR_NOT_READY when no progress can be made
FF_FILTER_FORWARD_WANTED() already sets the ready status as needed. Signed-off-by: Marton Balint <cus@passwd.hu>
This commit is contained in:
parent
ffcdd2cdc1
commit
a21429e134
1 changed files with 1 additions and 2 deletions
|
|
@ -354,8 +354,7 @@ static int activate(AVFilterContext *ctx)
|
|||
return ff_filter_frame(outlink, outsamplesref);
|
||||
}
|
||||
|
||||
ff_filter_set_ready(ctx, 100);
|
||||
return 0;
|
||||
return FFERROR_NOT_READY;
|
||||
}
|
||||
|
||||
static const AVClass *resample_child_class_iterate(void **iter)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue