1
0
mirror of https://github.com/FFmpeg/FFmpeg.git synced 2025-08-04 22:03:09 +02:00

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:
Marton Balint
2025-06-15 10:38:43 +02:00
parent ffcdd2cdc1
commit a21429e134

View File

@ -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)