[vlc-commits] xcb/render: fix copy-paste error (fixes #22428)
Rémi Denis-Courmont
git at videolan.org
Sat Jun 15 04:32:59 CEST 2019
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Sat Jun 15 05:31:55 2019 +0300| [78ca43c6e1ac0805043f7b358940a96e894f51e3] | committer: Rémi Denis-Courmont
xcb/render: fix copy-paste error (fixes #22428)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=78ca43c6e1ac0805043f7b358940a96e894f51e3
---
modules/video_output/xcb/render.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/modules/video_output/xcb/render.c b/modules/video_output/xcb/render.c
index 5bce2f9915..93825a32d4 100644
--- a/modules/video_output/xcb/render.c
+++ b/modules/video_output/xcb/render.c
@@ -468,7 +468,7 @@ static vlc_fourcc_t ParseFormat(const xcb_setup_t *setup,
if (bpp == 32 && d->red_mask == 0xff && d->green_mask == 0xff
&& d->blue_mask == 0xff && d->alpha_mask == 0x00)
return VLC_CODEC_RGB32;
- if (bpp == 32 && d->red_mask == 0xff && d->green_mask == 0xff
+ if (bpp == 24 && d->red_mask == 0xff && d->green_mask == 0xff
&& d->blue_mask == 0xff && d->alpha_mask == 0x00)
return VLC_CODEC_RGB24;
break;
More information about the vlc-commits
mailing list