From 21bd9cffbd959ae507af9c8395dbc56c76595bfe Mon Sep 17 00:00:00 2001 From: Steve Lhomme Date: Mon, 4 Sep 2023 08:07:10 +0200 Subject: [PATCH] screen/win32: use VLC_CODEC_RGB24 instead of VLC_CODEC_RGB24M This is the chroma corresponding to the default RGB24M mask. --- modules/access/screen/win32.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/access/screen/win32.c b/modules/access/screen/win32.c index a5811b3990..73b40ff249 100644 --- a/modules/access/screen/win32.c +++ b/modules/access/screen/win32.c @@ -132,7 +132,7 @@ int screen_InitCaptureGDI( demux_t *p_demux ) case 16: /* Yes it is really 15 bits (when using BI_RGB) */ i_chroma = VLC_CODEC_RGB15; break; case 24: - i_chroma = VLC_CODEC_RGB24M; break; + i_chroma = VLC_CODEC_RGB24; break; case 32: i_chroma = VLC_CODEC_BGRX; break; default: