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 A051D4DCA5 for ; Sat, 3 Jan 2026 13:00:56 +0000 (UTC) Authentication-Results: ffbox; dkim=fail (body hash mismatch (got b'DNvMd3tpNyM6qs2kzN7MdwjDAd2tdxX0YDuer4l0+0E=', expected b'zN3ntEIVZ/2bN6WNwWZKXYGHYrlBZCbKU9JY+5yXVg0=')) header.d=foxmail.com 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=1767445242; h=message-id : mime-version : in-reply-to : date : references : to : reply-to : subject : list-id : list-archive : list-archive : list-help : list-owner : list-post : list-subscribe : list-unsubscribe : from : cc : content-type : content-transfer-encoding : from; bh=KUnVfIK7Qrj1osoFMBZIs+aRYqxyMU/L8J6O2njos2A=; b=heOJpuTFp7Q+0tdXFNRzjmjfUXMddBvHRamuhSiPEyvhyM/xKO57beGAcgR0xZUuY260c 02lk4EyNwoYf7EBxD9LP/nXdFFpmq8YTqSGIemeiNlrFRSsyvQcF7lQkDcFe/xNhQ2RPuuG ixUEytR+dXIosq734wzzKxCPtXbcfBMkmBqriae2vHROq7MX09Mew6qcuDQ3M3B96ivWMMn DoeKwV7Giwxw/DgU0L9H4NNGCL+dTglbq6uyLO7lTY7h1c78N6azjYQ3c0Ms+0UGS0tG9zz SPddg+CP2zJRAHbNCpUTr8k+3Wkq2VtKNO6IX7C9lVWs8ukSwp67vxTmna6Q== Received: from [172.20.0.4] (unknown [172.20.0.4]) by ffbox0-bg.ffmpeg.org (Postfix) with ESMTP id 929DA690D2E; Sat, 3 Jan 2026 15:00:42 +0200 (EET) ARC-Seal: i=1; cv=none; a=rsa-sha256; d=ffmpeg.org; s=arc; t=1767445220; b=XDM7ghY87XNM3hBQL9njVTv2urIRlgbcf7+2g7bmNXNca4kKIqOjVwlVI8W6BhgK9xdWK T6vD5aiTCBnWI4+x6LCORMSWTDJwmBpOPG/o93iEaaphWngmDTnvCXSr5m+MCiw1HE3cK5V mc92czZkQj3E41UlMJZMN5hYlPny0YqVwxlkemt+MyxckxDbb2B3Po1cRI+qgbS3JIMEYl/ jXlOtHs8MlkMaRA3Uede7MeFjZ2BT2JAVjH5xeDwCxheDlhDwl3LA7PwYizn0eAtjqEmPjM e6IF6YAk7WZEO/W///UhEaEzICea1w1+DfCrj5EsvrYxtxa7l0PK0OzwAAPw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=ffmpeg.org; s=arc; t=1767445220; 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=DNvMd3tpNyM6qs2kzN7MdwjDAd2tdxX0YDuer4l0+0E=; b=FeE+f0V6RA7cuHRH9BGOFxjh1yGW15pkFcaudCMpaSgfTd9iCICkZeKX8Q/iJJRIHLISn 29Se0Sc4NSmwBB9sLK8qkc5naCYywzys5FrNgS5PltMxNALuq8xZHhrrhKe+3fTNuoosDqi ifaxrOy3ppCA5P0kWPnuVoI4eS5EN4VetgabbWrCmobCMDL0Znz3QLjmz1tdceuk9vimRTm SfoVs4q8Ap+/72msq6hP6gKgJdtaLiM5xSkd934BsL15DcCqriUaYqQAvd0nMxQ/jUqRxLO IU2M2MREMTTsrsg+PIOG3BTDxCmrRxjJpQvLbk2f/GBR8S3RMMwO+OJUl58w== ARC-Authentication-Results: i=1; ffmpeg.org; dkim=pass header.d=foxmail.com; arc=none; dmarc=pass header.from=foxmail.com policy.dmarc=none Authentication-Results: ffmpeg.org; dkim=pass header.d=foxmail.com; arc=none (Message is not ARC signed); dmarc=pass (Used From Domain Record) header.from=foxmail.com policy.dmarc=none Received: from xmbghk7.mail.qq.com (xmbghk7.mail.qq.com [43.163.128.50]) by ffbox0-bg.ffmpeg.org (Postfix) with UTF8SMTPS id 6836A68F76F for ; Sat, 3 Jan 2026 15:00:04 +0200 (EET) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=foxmail.com; s=s201512; t=1767445197; bh=zN3ntEIVZ/2bN6WNwWZKXYGHYrlBZCbKU9JY+5yXVg0=; h=Subject:From:In-Reply-To:Date:Cc:References:To; b=Ovdn/kEozvLu1YzwdZg1iQUSy0Ma/9F1r/98ASShmH79id6NYF4jL1m3LW2pIs8cy U8FbWAoGlAZGIe3I6nZ3V4AGOz1ip/XK8tGv/thry2x4En3Ue3YGzPeknqoGqKAcHf S5S1iOS/pdx8M0uXgnvCs/LFXMpoM5NSZKzkfZrE= Received: from smtpclient.apple ([240e:3b7:3271:6550:2ecf:67ff:fe47:d0dd]) by newxmesmtplogicsvrszc43-0.qq.com (NewEsmtp) with SMTP id EF89A073; Sat, 03 Jan 2026 20:59:56 +0800 X-QQ-mid: xmsmtpt1767445196tpnmifywf Message-ID: X-QQ-XMAILINFO: NAuAIaytDrXp3r7MZ/TgkrfoX3z1bMiJDfZAJmvDSzYLU3HvQqcHiINFSRpPzS 4TIEsNRhv2tdESsvwTRLtgX/f9SoQDwCqAiqnHXa8Oh7aIDbHZrTHae7+660bNnS1Mcv6HqNUOem 6Ume8nRhXdyAb4vLUd/sV4PXngKJT8goewlO0mjsSYa8jhVr8bXcej0qrp1imOexqe6rtyugyoVL ooAJRdKjyFxTXXV41hQnpXywQU2FVUNaPf8aWwgjNoCGnxysZ/xboyg9MsMnhHX9Qn98n9zZwB6T HISYrtdQgtOpTHD+IbHLTrKrInxEtgcRKSpNLhHHVgbwDJpZlQgaUv62xGKoX4Oxd4CC60uxvLjX ea7qM4RN2IVnzDnCkT0C3SCfpGV2s5JjHWqLZu6+u0ro8evjFqeKOy5PCkBY7Vr0qBc7enEdgX1K WmocecjjSb003GH2Ky71z+7vAeQaCxDyjR72Zs1vHCVCxAOtCjCM94puWrDNWa95uEX2jB5raXKc n4JFPmXdWj4LC4ewE2Prkheudpf+aJdBg9gP/LOebzxG7ybjmP7yhM4w8jQ2RATG5F9oRic5C6I5 NueB+dCscCS/0GH/Q0QF38JADewwCaG5b7jZyIZz8L5nSkEYbSic4+gaswMn7VU/wjJRe1nF0FlZ QGP1j20bhv3MlJoE7yMNZoPsrqOZorAhV8uXOblxqvAhrZfS5pcOBZhy6SWF8iezv4V3KgbcZt44 cS8NtsiTrahVZAgYCxbhoFH9ltzoZYyUhSUWSMZyEMqVeCgu4j9Oms5vagfqqvYqSPuXPQdG6rN1 NJBTA7UH2N5EAboJ6zRbV3xtA6tg20/rp4GcVXNfhng6RqVpWZa8m5FFlPq1+M+lL42lyxJTd931 sHXPy8LKtW677Q1ffzxMN7HsVMQP09YvmWjHOihPfQ8A4lDqEKKwh5bEb1p7fzpNH0yVW96ZiK45 eh18F0UFULXEEBp4UeO3WmMBx5trR+KGqAXrbEkmHcAMcUin8r3td+r7axVifiJAQ0/3Nlzltznc sCrHhk8FE3HUEdQ0bDlIKUsY5XmAgmclshVCZH2Zv7yjAaM1TRqVSzDSlQAAQ0NcWCxD9XPw== X-QQ-XMRINFO: MSVp+SPm3vtSI1QTLgDHQqIV1w2oNKDqfg== Mime-Version: 1.0 (Mac OS X Mail 16.0 \(3818.100.11.1.3\)) In-Reply-To: Date: Sat, 3 Jan 2026 20:59:46 +0800 X-OQ-MSGID: <8238DB35-88BE-4AA1-BA70-0198C2D0ECEB@foxmail.com> References: <20260102224334.734271-1-marcin@serwin.dev> <86edccac-1e88-4d04-ae8c-242298557ae8@gyani.pro> To: FFmpeg development discussions and patches X-Mailer: Apple Mail (2.3818.100.11.1.3) Message-ID-Hash: 4GAVTWVSULUB5LT4V7E2DZYR2L6NTQ4W X-Message-ID-Hash: 4GAVTWVSULUB5LT4V7E2DZYR2L6NTQ4W X-MailFrom: SRS0=oxi7=7I=foxmail.com=quinkblack@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: Zhao Zhili via ffmpeg-devel Cc: Marcin Serwin , Zhao Zhili Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Archived-At: List-Archive: List-Post: > On Jan 3, 2026, at 16:59, Marcin Serwin via ffmpeg-devel wrote: > > 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 the > Vulkan renderer code. Or perhaps it can be removed entirely in favor of setting > SDL_HINT_RENDER_DRIVER to "vulkan". The ffplay vulkan renderer is focus on hardware decoding interoperation and better colorspace support. I don't think SDL3 can replace it directly. > > -- > Best regards, > Marcin Serwin > _______________________________________________ > ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org > To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org _______________________________________________ ffmpeg-devel mailing list -- ffmpeg-devel@ffmpeg.org To unsubscribe send an email to ffmpeg-devel-leave@ffmpeg.org