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 D0A3F49144 for ; Sun, 4 Feb 2024 13:15:13 +0000 (UTC) Received: from [127.0.1.1] (localhost [127.0.0.1]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTP id 9BED268D03F; Sun, 4 Feb 2024 15:15:10 +0200 (EET) Received: from relay9-d.mail.gandi.net (relay9-d.mail.gandi.net [217.70.183.199]) by ffbox0-bg.mplayerhq.hu (Postfix) with ESMTPS id 2438868CE34 for ; Sun, 4 Feb 2024 15:15:04 +0200 (EET) Received: by mail.gandi.net (Postfix) with ESMTPSA id 41AB7FF802 for ; Sun, 4 Feb 2024 13:15:03 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=niedermayer.cc; s=gm1; t=1707052503; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=/9lew6tHsQLlp4pjG8KSenJga8VdTyZfoRb6LPjByYM=; b=JnuZFVl+cA5eXAXtItHmwD59Q8wpEgCrQ6ZXZffCDpCKbpEOFBRxUVEpseM59e+KOttwlP uJHUMPAb92jFlHdrkrd17sTTwqQlTzonrkYeqIVvjhhl7AXkMLbC2Q2uB77AK+tc0OfObn 6LzYiS8o8mAdlYrTEVOEdy/LEymiOsrXbaPwWlkf6Vov/rU0M/m02BtQ6PEBg9GqoTZaBR +9zK5pRvOkUnHB1TWcvX/jJhaGLCtU0KPGErnONCSguhEmbdHepJMNsSW/SZABQ2FNUU9p CaLDE7eYcTQ5xBHKjVBUyRTfzXocvSGIoPLvL1dwdJw68Tbp356kZqZtgk5pDQ== Date: Sun, 4 Feb 2024 14:15:02 +0100 From: Michael Niedermayer To: FFmpeg development discussions and patches Message-ID: <20240204131502.GN6420@pb2> References: <20240204090233.1157950-1-jdek@itanimul.li> MIME-Version: 1.0 In-Reply-To: <20240204090233.1157950-1-jdek@itanimul.li> X-GND-Sasl: michael@niedermayer.cc 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: multipart/mixed; boundary="===============2571582586452600424==" Errors-To: ffmpeg-devel-bounces@ffmpeg.org Sender: "ffmpeg-devel" Archived-At: List-Archive: List-Post: --===============2571582586452600424== Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="+6+Gzdq2mjTAvYJU" Content-Disposition: inline --+6+Gzdq2mjTAvYJU Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Feb 04, 2024 at 10:02:31AM +0100, J. Dekker wrote: > With the addition of threading in ffmpeg.c, the SDL2 devices no longer ha= ve the > 'main' thread. This means that both the SDL2 and OpenGL output device are= broken > in master. Rather than attempting to fix it, they should be removed inste= ad as > there are better alternatives for debugging or viewing streams. >=20 > The 'pipe:' output can be used with a real video player such as mpv, vlc,= or > even ffplay. For cases where the user was an application using the API th= ey > should supply their own renderer. we should point to our tools (ffplay in this case) first and foremost. Also if they can be used, an example is needed in the documentation. This could be in place of the removed device Alternatively, a flag could be added to devices that specifies that they ne= ed to be called from the main thread This flag could switch tools which want to support this into single threaded mode, if it doesnt fit naturally in their architecture. While tools not supporting it could simply fail with a "unsupported" message thx [...] --=20 Michael GnuPG fingerprint: 9FF2128B147EF6730BADF133611EC787040B0FAB No human being will ever know the Truth, for even if they happen to say it by chance, they would not even known they had done so. -- Xenophanes --+6+Gzdq2mjTAvYJU Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iF0EABEIAB0WIQSf8hKLFH72cwut8TNhHseHBAsPqwUCZb+N0AAKCRBhHseHBAsP q2uyAKCYix8KEZ0L0xuJXivBdze6k4NxVwCfXyXxUud2RS5GoPq23zD41If8opw= =HuzA -----END PGP SIGNATURE----- --+6+Gzdq2mjTAvYJU-- --===============2571582586452600424== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ 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". --===============2571582586452600424==--