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 076D449318 for ; Wed, 7 Feb 2024 17:09:41 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id D3BFB68D135; Wed, 7 Feb 2024 19:09:38 +0200 (EET) Received: from mail0.khirnov.net (red.khirnov.net [176.97.15.12]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 539FB68B466 for ; Wed, 7 Feb 2024 19:09:32 +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=fCtxvNNq; dkim-atps=neutral Received: from localhost (localhost [IPv6:::1]) by mail0.khirnov.net (Postfix) with ESMTP id F3E73240DA9 for ; Wed, 7 Feb 2024 18:09:31 +0100 (CET) Received: from mail0.khirnov.net ([IPv6:::1]) by localhost (mail0.khirnov.net [IPv6:::1]) (amavis, port 10024) with ESMTP id R654uvhnpPxD for ; Wed, 7 Feb 2024 18:09:31 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=khirnov.net; s=mail; t=1707325771; bh=zyIenNJN83xwHaOZdoTnmKfl2JmCgJCeISny23+/eIk=; h=Subject:From:To:In-Reply-To:References:Date:From; b=fCtxvNNqu2Oq9kZyW9bnUtDguq/ATxu+SgNNhrjUum1D6YM9/VlbXoKr3BlVcWyYa tbPsMBSdyA2NuIliCiSsS3AIBVW3mhw5lKE31ExJnYgUiR+Ayt0Z0W+dDc/lro7ehc UwZvHgYNW1ZuR3kRCWsJh4/cyI15G0ih6Q1yFRjmx+AlUOdcYFSIQtr/aFnkxbD9iV ivRd53vClgeR71ZTxbhDk4d4ahUOiKokGMwrSew8umzkj2VJFRKNFMPLuP+TETQWpB RuXpyg00iGgpJ+6o8cf9eXXomQf0hhsyeB5nZo5doXdAvuJwIOI0n0vXOh1dapNdvr N/CT1wpSjUzjQ== 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 4EF9D240177 for ; Wed, 7 Feb 2024 18:09:31 +0100 (CET) Received: by lain.khirnov.net (Postfix, from userid 1000) id 2C5CB1601B9; Wed, 7 Feb 2024 18:09:31 +0100 (CET) From: Anton Khirnov To: FFmpeg development discussions and patches In-Reply-To: References: <20240204090233.1157950-1-jdek@itanimul.li> Mail-Followup-To: FFmpeg development discussions and patches Date: Wed, 07 Feb 2024 18:09:31 +0100 Message-ID: <170732577115.8914.13398900810738243891@lain.khirnov.net> User-Agent: alot/0.8.1 MIME-Version: 1.0 Subject: Re: [FFmpeg-devel] [PATCH 0/2] Remove SDL2 output devices 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 Stefano Sabatini (2024-02-05 01:02:20) > This implies a misunderstanding of what these components are. If > they are broken with ffmpeg.c this is not a good reason to remove > them (ffmpeg.c is not the only user). They are broken with _any_ caller that happens to call libavformat from a thread other than the main one. Since libavformat API does not impose any such restrictions on its callers, these devices are broken in general. > Also, it was already suggested some way to fix it There is no way to fix them other than impose new restrictions on callers... > it's not like they are "broken by design", ...so they are precisely broken by design. -- 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".