Skip to content

Commit 7dfaa6a

Browse files
committed
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.
1 parent 1f3aaa0 commit 7dfaa6a

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

src/video_display/sdl3.c

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -633,8 +633,9 @@ get_supported_pfs(const struct fmt_data *supp_fmts, codec_t *codecs)
633633
}
634634

635635
#define NO_BLACKLIST_D3D_P010 "sdl3-no-blacklist-d3d-p010"
636-
ADD_TO_PARAM(NO_BLACKLIST_D3D_P010, "* "NO_BLACKLIST_D3D_P010 "\n"
637-
" Do not blacklist P010 format for Direct3D 11/12.\n");
636+
ADD_TO_PARAM(NO_BLACKLIST_D3D_P010,
637+
"* " NO_BLACKLIST_D3D_P010 "\n"
638+
" Do not blacklist P010 format for Direct3D 11/12 renderers.\n");
638639
static void
639640
query_renderer_supported_fmts(SDL_Renderer *renderer,
640641
struct fmt_data *supp_fmts, bool blacklist_p010)
@@ -907,7 +908,7 @@ display_sdl3_reconfigure_real(void *state, struct video_desc desc)
907908
if (s->cs_data == NULL) {
908909
return false;
909910
}
910-
MSG(VERBOSE, "Setting SDL3 pix fmt: %s\n",
911+
MSG(INFO, "Setting SDL3 pix fmt: %s\n",
911912
SDL_GetPixelFormatName(s->cs_data->sdl_tex_fmt));
912913

913914
SDL_CHECK(SDL_SetRenderLogicalPresentation(

0 commit comments

Comments
 (0)