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 384894DC80 for ; Sat, 3 Jan 2026 09:00:17 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'NAj0jYh86SHcbZjyGg9PB0by9iGibcUngNE2YU1aZ3k=', expected b't5FFVWvUUcA0K1ChN5Voc6t6YZ+x0vZRYHLxMkBz52Q=')) header.d=serwin.dev header.a=rsa-sha256 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=ffmpeg.org; i=@ffmpeg.org; q=dns/txt; s=mail; t=1767430797; h=mime-version : date : message-id : to : references : in-reply-to : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : from; bh=NAj0jYh86SHcbZjyGg9PB0by9iGibcUngNE2YU1aZ3k=; b=RJy3trruzy/u5VC9uYaVZrsIF48Ct8suV+YrKpRpkIGTA2WngUvZWIF1VwmTVRv4kYj8g cSXjDzZy8QpJo/K7dJH2aw7RFtVaaSktrrh/OJENWYT021SlSbzkjDtaeDU+Urjb38/1wlB OuNZ8+DBQE7l+XrS8GjhoLfT8/eEVCRQcDcHyThmTXvcVGznDm2KVP/WeY6LJR7fca86Y3l 80cOujlLncrxR5Af+842oDjGwwmfAgC4Y+pDddArVPSl4eddsm0utavnaREzDtVAmqr4Mjc EAgSR6PRNkxZuujK6UTi8cvkPlhILUA9JEL5WuqtO0NGVUwtJrSWofBdh3jA== Received: from [172.20.0.4] (unknown [172.20.0.4]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id A4CFF690D44; Sat, 3 Jan 2026 10:59:57 +0200 (EET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1767430779; b=c/mieRhPAXHSIxk8d1d1vJKkzcS4migUHtXlMUwd8UmAWxTVVd5/nUpA2PvvpICPZc8Lm 454+N58lJ/JYgBsYQzT1nOYc+1MkCNoKbZk/KTdym3jmN5zt+EQvdaPm4F6adp5sA3IM+nW 4gu9cIUHu+pp//mO1ka9Enoc+iUferiT8L0hziExFUOW6Ng3UwgZsSXUxxJe6twdqF/Datp gSWdngcf9IlzcBH79jMvV7EPSTqii8NZ7fedr7l+y3Mu+sEoqaWDlz55D1SaCPuJX+tooTl jAqQvqslpXGsdQt4tSTAtPtiy5O4UMJmfS11zLJmmcshVpC4Uh7gJLfPpTnw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1767430779; h=from : sender : reply-to : subject : date : message-id : to : cc : mime-version : content-type : content-transfer-encoding : content-id : content-description : resent-date : resent-from : resent-sender : resent-to : resent-cc : resent-message-id : in-reply-to : references : list-id : list-help : list-unsubscribe : list-subscribe : list-post : list-owner : list-archive; bh=NAj0jYh86SHcbZjyGg9PB0by9iGibcUngNE2YU1aZ3k=; b=JuPovIIFen5HJATZCFe4e5hhNTgNKuoNEqGdmFEqnYBSYlFx7+jDTWRXrhqk6XekuF73Q 6ywLCi7XAwGWDzz/1Cy1UMkd+DJDM7LsLj50OOh4IYdmhprBW9sPMuM1TVAgSD0CNO9SExS OOXlxbc6F+eilk6DSoB0futDxOq3dsoJciAJ2oQL2GhmSEpUmQwjHgRLCegCbgd5Vz4uKeB sV8G0gBXZCa+TiIIPMyjMqCvUNgb4UV1+Fw2cJEcEI3GG0zk3/PUiMgaMHImh8wYRXoOgJW BZehriEdfUApssze5WUw60fEVFh7kKcMj9sbS8mhvgB/qiiuAjOCS8yfNU+Q== ARC-Authentication-Results: i=1; ffmpeg.org; dkim=pass header.d=serwin.dev; arc=none; dmarc=pass header.from=serwin.dev policy.dmarc=quarantine Authentication-Results: ffmpeg.org; dkim=pass header.d=serwin.dev; arc=none (Message is not ARC signed); dmarc=pass (Used From Domain Record) header.from=serwin.dev policy.dmarc=quarantine Received: from out-172.mta1.migadu.com (out-172.mta1.migadu.com [95.215.58.172]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTPS id 6C08868EB68 for ; Sat, 3 Jan 2026 10:59:26 +0200 (EET) Mime-Version: 1.0 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=serwin.dev; s=key1; t=1767430765; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version:content-type:content-type: in-reply-to:in-reply-to:references:references; bh=t5FFVWvUUcA0K1ChN5Voc6t6YZ+x0vZRYHLxMkBz52Q=; b=oI6QUWS8vx1kkAmXsPz/3NqivcZ8MX+b/xbp4frw1mQ4+4OpGdrBuHHQkVgbSp7lnJdeAk MsaZqtPQXywJhn/TdKpc2avOMTjX9Fo3NnZFWEYZ2UdzRXDR1FycIFMjEKXsZUGQCdY0g9 tqU4t/cy/AUS+VE8xYVEH75GS4zpQ5nzPicZq6wixkY824nknM0BkNNVMMlmS5IT8NkD/n UgbR3u7QdwI1gKGMT4S6Nsd6PA69QR4plf2YPvVcqyvZTFK6Wr5ZnE4sG5h01rWtt8ZwDj yw2xaUubE1qSpOzxYvygZkDibnplowGRkIAiylPzfVBNurjWg5Bvt+/qFE8aDQ== Date: Sat, 03 Jan 2026 09:59:18 +0100 Message-Id: X-Report-Abuse: Please report any abuse attempt to abuse@migadu.com and include these headers. To: "FFmpeg development discussions and patches" References: <20260102224334.734271-1-marcin@serwin.dev> <86edccac-1e88-4d04-ae8c-242298557ae8@gyani.pro> In-Reply-To: <86edccac-1e88-4d04-ae8c-242298557ae8@gyani.pro> X-Migadu-Flow: FLOW_OUT Message-ID-Hash: ZMUDCJ64LTI2RF7FJ65SPFTQGLC5Y27A X-Message-ID-Hash: ZMUDCJ64LTI2RF7FJ65SPFTQGLC5Y27A X-MailFrom: SRS0=6cJ4=7I=serwin.dev=marcin@ffmpeg.org X-Mailman-Rule-Misses: dmarc-mitigation; no-senders; approved; loop; banned-address; header-match-ffmpeg-devel.ffmpeg.org-0; header-match-ffmpeg-devel.ffmpeg.org-1; header-match-ffmpeg-devel.ffmpeg.org-2; header-match-ffmpeg-devel.ffmpeg.org-3; emergency; member-moderation; nonmember-moderation; administrivia; implicit-dest; max-recipients; max-size; news-moderation; no-subject; digests; suspicious-header X-Mailman-Version: 3.3.10 Precedence: list Reply-To: FFmpeg development discussions and patches Subject: [FFmpeg-devel] Re: [PATCH] fftools/ffplay: migrate to SDL3 List-Id: FFmpeg development discussions and patches Archived-At: Archived-At: List-Archive: List-Archive: List-Help: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: From: Marcin Serwin via ffmpeg-devel Cc: Gyan Doshi , Marcin Serwin Content-Type: multipart/mixed; boundary="===============4696543260346306609==" Archived-At: List-Archive: List-Post: --===============4696543260346306609== Content-Type: multipart/signed; boundary=64c6f53df4985a063ea952fcf953ba5005827b108d9ab69c469e085ad901; micalg=pgp-sha512; protocol="application/pgp-signature" --64c6f53df4985a063ea952fcf953ba5005827b108d9ab69c469e085ad901 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=UTF-8 On Sat Jan 3, 2026 at 8:12 AM CET, Gyan Doshi via ffmpeg-devel wrote: >>> Migrates the FFplay media player to the new SDL version using the >>> official tutorial at https://wiki.libsdl.org/SDL3/README-migration. >>> >> I've also considered the issue of supporting SDL3. The challenge is >> how to maintain support for both SDL2 and SDL3 while avoiding a >> codebase cluttered with conditional compilation, which would be >> difficult to maintain. > > Support for SDL1 was dropped on the same day as SDL2 support was added. Most of the changes are renames so perhaps it could be possible to make a localized block with `#define`s to minimize the number of conditional compilation macros throughout the logic. That being said I hoped for doing = it the same way as SDL 1->2 migration. > What are the relevant improvements in SDL3 as far as current ffplay.c is > concerned? This is mostly code hygiene as SDL3 has cleaner and more consistent API. I'= m not aware of any functional changes between it and just using sdl2-compat. One possible future improvement is utilizing the new GPU API to simplify th= e Vulkan renderer code. Or perhaps it can be removed entirely in favor of set= ting SDL_HINT_RENDER_DRIVER to "vulkan". -- Best regards, Marcin Serwin --64c6f53df4985a063ea952fcf953ba5005827b108d9ab69c469e085ad901 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iIgEABYKADAWIQTSQDr5Cng1li+hhOzaz6xOoLGU4AUCaVjabRIcbWFyY2luQHNl cndpbi5kZXYACgkQ2s+sTqCxlOAzSwD8CaO+OL1VrGAHPbJmmjLJUk82VhZ5VUHd sT0TjqrQmp4A/13JBIa47VcN2yV9OT1D7JVhy1XrO43CURNFDKbff6ID =CeM1 -----END PGP SIGNATURE----- --64c6f53df4985a063ea952fcf953ba5005827b108d9ab69c469e085ad901-- --===============4696543260346306609== 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 To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org --===============4696543260346306609==--