From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from ffbox0-bg.mplayerhq.hu (ffbox0-bg.ffmpeg.org [79.124.17.100]) by master.gitmailbox.com (Postfix) with ESMTP id CE33B48810 for ; Thu, 18 Jul 2024 08:14:58 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id EF81568D9A1; Thu, 18 Jul 2024 11:14:56 +0300 (EEST) Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 0FD8268D88A for ; Thu, 18 Jul 2024 11:14:51 +0300 (EEST) Authentication-Results: mail0.khirnov.net; dkim=pass (2048-bit key; unprotected) header.d=khirnov.net header.i=@khirnov.net header.a=rsa-sha256 header.s=mail header.b=dnDA4hCq; dkim-atps=neutral Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 68408240DB8 for ; Thu, 18 Jul 2024 10:14:50 +0200 (CEST) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id XS4CQT1Gc9Dh for ; Thu, 18 Jul 2024 10:14:48 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=khirnov.net; s=mail; t=1721290488; bh=lyo2kTmURkchiptrxI5slxXJvpm0Qmw5JsA8KscnnpQ=; h=Subject:From:To:In-Reply-To:References:Date:From; b=dnDA4hCqKHYGGAbrT6/+CjpIwD50W0dVIoG0Fnguka4IG9WIEblGil9drlcJPBl5D n1e96DZqLxdyHvuMgs9nBAlCUaD+Y/bi4UISG2CGeu4hscBosjAFxXkHZqtEsG1F66 LmGe8jTGR/r0AL4DGSaU93CYKj9IejddPX/qSMbGhlgSpFRmHcx/EwugoJo9Upu8L5 Ov9X2ig911wClZgMK9qIHjb1ZKHPafLbkAjcSJLG7QDY/2juB5UJjcwMjjeXYjudxw kQ5Yl8JAgwRqiZs2wAd/hFc6/XwSEvjNRfB0v7Lx5BJT9asri6crzepnquwv/hNsYI WzuzqI6bfMSYA== Received: from lain.khirnov.net (lain.khirnov.net [IPv6:2001:67c:1138:4306::3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256 client-signature RSA-PSS (2048 bits) client-digest SHA256) (Client CN "lain.khirnov.net", Issuer "smtp.khirnov.net SMTP CA" (verified OK)) by mail0.khirnov.net (Postfix) with ESMTPS id 9345C240DB7 for ; Thu, 18 Jul 2024 10:14:48 +0200 (CEST) Received: by lain.khirnov.net (Postfix, from userid 1000) id 76FE11601B9; Thu, 18 Jul 2024 10:14:42 +0200 (CEST) From: Anton Khirnov To: FFmpeg development discussions and patches In-Reply-To: <20240717212019.GV4991@pb2> References: <20240716171155.31838-1-anton@khirnov.net> <20240716171155.31838-31-anton@khirnov.net> <20240717212019.GV4991@pb2> Mail-Followup-To: FFmpeg development discussions and patches Date: Thu, 18 Jul 2024 10:14:42 +0200 Message-ID: <172129048245.21847.2381558523907971628@lain.khirnov.net> User-Agent: alot/0.8.1 MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH 31/39] lavc/decode: wrap AV_FRAME_FLAG_DISCARD handling in a loop 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 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: Quoting Michael Niedermayer (2024-07-17 23:20:19) > On Tue, Jul 16, 2024 at 07:11:46PM +0200, Anton Khirnov wrote: > > Makes sure discarded frames do not cause EAGAIN to be returned during > > flushing, which is forbidden. > > --- > > libavcodec/decode.c | 11 ++++++++--- > > 1 file changed, 8 insertions(+), 3 deletions(-) > > giving execution back to the user at finer granularity would be better That's not how our API works, unless I misunderstand what you're suggesting. -- Anton Khirnov _______________________________________________ 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".