[vlc-commits] XCB/X11: fix grey scale (untested)
Rémi Denis-Courmont
git at videolan.org
Mon Feb 14 22:13:30 CET 2011
vlc | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Mon Feb 14 23:13:03 2011 +0200| [eed1ae9d8346d2f7bf456f66d6d3785230fbc4dc] | committer: Rémi Denis-Courmont
XCB/X11: fix grey scale (untested)
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=eed1ae9d8346d2f7bf456f66d6d3785230fbc4dc
---
modules/video_output/xcb/x11.c | 1 +
1 files changed, 1 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/xcb/x11.c b/modules/video_output/xcb/x11.c
index 1f779f6..39340f9 100644
--- a/modules/video_output/xcb/x11.c
+++ b/modules/video_output/xcb/x11.c
@@ -219,6 +219,7 @@ static int Open (vlc_object_t *obj)
/* Then try Static Gray class */
if (fmt->depth != 8)
continue;
+ vt = xcb_depth_visuals (d);
for (int i = xcb_depth_visuals_length (d); i > 0 && !vid; i--)
{
if (vt->_class == XCB_VISUAL_CLASS_STATIC_GRAY)
More information about the vlc-commits
mailing list