[FFmpeg-cvslog] avfilter/af_aresample: make aresample return FFERROR_NOT_READY when no progress can be made
Marton Balint
git at videolan.org
Sat Jun 21 21:36:06 EEST 2025
ffmpeg | branch: master | Marton Balint <cus at passwd.hu> | Sun Jun 15 10:38:43 2025 +0200| [a21429e134d4fa965e8a35c2cf1156bee3284dbd] | committer: Marton Balint
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 at passwd.hu>
> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=a21429e134d4fa965e8a35c2cf1156bee3284dbd
---
libavfilter/af_aresample.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/libavfilter/af_aresample.c b/libavfilter/af_aresample.c
index 703fb7c92d..4b3a732bb9 100644
--- a/libavfilter/af_aresample.c
+++ b/libavfilter/af_aresample.c
@@ -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)
More information about the ffmpeg-cvslog
mailing list