From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.ffmpeg.org (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTPS id 7EA644F21B for ; Mon, 16 Jun 2025 22:45:13 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 6F7C368CC9D; Tue, 17 Jun 2025 01:44:24 +0300 (EEST) Received: from iq.passwd.hu (iq.passwd.hu [217.27.212.140]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 0E80568CD11 for ; Tue, 17 Jun 2025 01:44:20 +0300 (EEST) Received: from localhost (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id 38DF9ED97A; Tue, 17 Jun 2025 00:41:27 +0200 (CEST) X-Virus-Scanned: amavisd-new at passwd.hu Received: from iq.passwd.hu ([127.0.0.1]) by localhost (iq.passwd.hu [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 8zShlD1ubzAR; Tue, 17 Jun 2025 00:41:25 +0200 (CEST) Received: from bluegene.passwd.hu (localhost [127.0.0.1]) by iq.passwd.hu (Postfix) with ESMTP id 51D85ED987; Tue, 17 Jun 2025 00:41:25 +0200 (CEST) From: Marton Balint To: ffmpeg-devel@ffmpeg.org Date: Tue, 17 Jun 2025 00:43:56 +0200 Message-ID: <20250616224404.16142-6-cus@passwd.hu> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20250616224404.16142-1-cus@passwd.hu> References: <20250616224404.16142-1-cus@passwd.hu> MIME-Version: 1.0 Subject: [FFmpeg-devel] [PATCH 6/7] avfilter/af_aresample: make aresample return FFERROR_NOT_READY when no progress can be made X-BeenThere: ffmpeg-devel@ffmpeg.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: FFmpeg development discussions and patches List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Reply-To: FFmpeg development discussions and patches Cc: Marton Balint Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: FF_FILTER_FORWARD_WANTED() already sets the ready status as needed. Signed-off-by: Marton Balint --- 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) -- 2.43.0 _______________________________________________ ffmpeg-devel mailing list ffmpeg-devel@ffmpeg.org https://ffmpeg.org/mailman/listinfo/ffmpeg-devel To unsubscribe, visit link above, or email ffmpeg-devel-request@ffmpeg.org with subject "unsubscribe".