[vlc-devel] commit: XCB: do not look for static color visuals ( Rémi Denis-Courmont )
git version control
git at videolan.org
Sat Feb 7 22:43:01 CET 2009
vlc | branch: master | Rémi Denis-Courmont <rdenis at simphalempin.com> | Sat Feb 7 23:40:50 2009 +0200| [2b9b5c0c6b7a9de32d5a42755f648d5194afaf13] | committer: Rémi Denis-Courmont
XCB: do not look for static color visuals
We really don't support them anyway
> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=2b9b5c0c6b7a9de32d5a42755f648d5194afaf13
---
modules/video_output/xcb/xcb.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/modules/video_output/xcb/xcb.c b/modules/video_output/xcb/xcb.c
index e39257c..166622e 100644
--- a/modules/video_output/xcb/xcb.c
+++ b/modules/video_output/xcb/xcb.c
@@ -154,10 +154,12 @@ static int Open (vlc_object_t *obj)
if ((vt = xcb_aux_find_visual_by_attrs (scr, XCB_VISUAL_CLASS_TRUE_COLOR,
scr->root_depth)) != NULL)
msg_Dbg (vout, "using TrueColor visual ID %d", (int)vt->visual_id);
+#if 0
else
if ((vt = xcb_aux_find_visual_by_attrs (scr, XCB_VISUAL_CLASS_STATIC_COLOR,
scr->root_depth)) != NULL)
msg_Dbg (vout, "using static color visual ID %d", (int)vt->visual_id);
+#endif
else
if ((scr->root_depth == 8)
&& (vt = xcb_aux_find_visual_by_attrs (scr, XCB_VISUAL_CLASS_STATIC_GRAY,
More information about the vlc-devel
mailing list