[Xorg] [Composite] mplayer -vo x11

Aaron Plattner plattner at caltech.edu
Mon Aug 23 10:12:02 PDT 2004


I'm trying to run mplayer -vo x11 and it's causing xcompmgr to segfault.  This
patch gets it to work, but obviously it's not a real solution:

Index: xcompmgr.c
===================================================================
RCS file: /cvs/xapps/xcompmgr/xcompmgr.c,v
retrieving revision 1.26
diff -u -r1.26 xcompmgr.c
--- xcompmgr.c  14 Aug 2004 21:39:51 -0000      1.26
+++ xcompmgr.c  20 Aug 2004 19:30:31 -0000
@@ -825,6 +825,8 @@
                draw = w->pixmap;
 #endif
            format = XRenderFindVisualFormat (dpy, w->a.visual);
+           if(!format)
+               format = XRenderFindVisualFormat (dpy, DefaultVisual(dpy,scr));
            pa.subwindow_mode = IncludeInferiors;
            w->picture = XRenderCreatePicture (dpy, draw,
                                               format,

The visual w->a.visual points to is 0x22, which has no picture format associated
with it according to xdpyinfo -ext RENDER.

-- Aaron

P.S. Sorry if this message goes through multiple times -- I've been
having trouble with my mail server recently.



More information about the xorg mailing list