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 D6F9048EAA for ; Mon, 29 Jan 2024 19:02:59 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 16B5968D23F; Mon, 29 Jan 2024 21:02:57 +0200 (EET) Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 6713868D216 for ; Mon, 29 Jan 2024 21:02:50 +0200 (EET) 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=gk162SLX; dkim-atps=neutral Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id 12C652405F2; Mon, 29 Jan 2024 20:02:50 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id UROE5BFfkXEk; Mon, 29 Jan 2024 20:02:49 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=khirnov.net; s=mail; t=1706554969; bh=K1wJBUM3sgMYplToYMv4Iv/9RY6znh0xii6IVYU2r7c=; h=Subject:From:To:In-Reply-To:References:Date:From; b=gk162SLXKl/jWfumHrh6bEaSeMwHFF2XW9SGH26fWfEFZan3X8AsT8TMwW4sFjSJ5 aW4fNlIq+dc1FyjQkMPQFEEeo0AOixWYXTvHI3J295gyCQcAXmdW/3jeH+NhZXtfxL jCOZVtpWZZwrO5H6FLHHue88RU+BuaZnYSwwcafytmK3eKtnUmUUczdYfBSsLhJS+R XVv1xPwN7jzcpiMGnuN2+1sXRRFx5wsQcCfPlargB3F63YNfpalzv2QTpea6jjF4g/ W1289tCKKZ10c9U+DgdcwKreCI9riDmaeu/X/92TGHGBH66uUDFGwcvbhvQnVXyaUd vronJimmWpecg== 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 5DE5A2404E5; Mon, 29 Jan 2024 20:02:49 +0100 (CET) Received: by lain.khirnov.net (Postfix, from userid 1000) id 3CAFE1601B9; Mon, 29 Jan 2024 20:02:49 +0100 (CET) From: Anton Khirnov To: ffmpeg-devel@ffmpeg.org, Timo Rothenpieler In-Reply-To: <75e6f692-19bd-4b7d-9f7a-1030a5f3f83c@rothenpieler.org> References: <20240129183159.7140-1-anton@khirnov.net> <75e6f692-19bd-4b7d-9f7a-1030a5f3f83c@rothenpieler.org> Mail-Followup-To: ffmpeg-devel@ffmpeg.org, Timo Rothenpieler Date: Mon, 29 Jan 2024 20:02:49 +0100 Message-ID: <170655496922.8914.15493618487019139532@lain.khirnov.net> User-Agent: alot/0.8.1 MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH v2] lavfi/vsrc_ddagrab: add an option to avoid duplicating frames 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 Timo Rothenpieler (2024-01-29 19:55:26) > On 29.01.2024 19:31, Anton Khirnov wrote: > > { NULL } > > }; > > > > @@ -688,7 +691,7 @@ static int next_frame_internal(AVFilterContext *avctx, ID3D11Texture2D **desktop > > > > hr = IDXGIOutputDuplication_AcquireNextFrame( > > dda->dxgi_outdupl, > > - dda->time_timeout, > > + need_frame ? INFINITE : dda->time_timeout, > > My main worry with this is that the filter could potentially be sitting > there for a really, really long time. I agree, ideally there should be some kind of an interrupt mechanism, but AFAIK nothing of the sort exists in lavfi currently. -- 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".