From 7dfaa6ac045daf63e8c7a2c7348dacf2200933ee Mon Sep 17 00:00:00 2001 From: Martin Pulec Date: Thu, 8 Jan 2026 15:47:53 +0100 Subject: [PATCH] vdisp/sdl3: print selected pixfmt in INFO The selected pixel format information is potentially important information that helps the user check that the conversion is not degrading some aspect of the video (if it can occur). Anyways, it shall be useful for the info, anyways. --- src/video_display/sdl3.c | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/src/video_display/sdl3.c b/src/video_display/sdl3.c index 411d9d06d..859f4f144 100644 --- a/src/video_display/sdl3.c +++ b/src/video_display/sdl3.c @@ -633,8 +633,9 @@ get_supported_pfs(const struct fmt_data *supp_fmts, codec_t *codecs) } #define NO_BLACKLIST_D3D_P010 "sdl3-no-blacklist-d3d-p010" -ADD_TO_PARAM(NO_BLACKLIST_D3D_P010, "* "NO_BLACKLIST_D3D_P010 "\n" - " Do not blacklist P010 format for Direct3D 11/12.\n"); +ADD_TO_PARAM(NO_BLACKLIST_D3D_P010, + "* " NO_BLACKLIST_D3D_P010 "\n" + " Do not blacklist P010 format for Direct3D 11/12 renderers.\n"); static void query_renderer_supported_fmts(SDL_Renderer *renderer, struct fmt_data *supp_fmts, bool blacklist_p010) @@ -907,7 +908,7 @@ skip_window_creation: if (s->cs_data == NULL) { return false; } - MSG(VERBOSE, "Setting SDL3 pix fmt: %s\n", + MSG(INFO, "Setting SDL3 pix fmt: %s\n", SDL_GetPixelFormatName(s->cs_data->sdl_tex_fmt)); SDL_CHECK(SDL_SetRenderLogicalPresentation(