[MPlayer-users] Using vo_x11 and -wid option fails with setting the Colormap
Koos Vriezen
koos.vriezen at xs4all.nl
Thu Dec 26 20:43:02 CET 2002
Hi,
I'm trying to get the x11 driver to work playing in a KDE/Qt window. It
works with the xv driver, but the x11 driver fails bt:
#3 0x405b9edb in abort () from /lib/libc.so.6
#4 0x080a6a66 in vo_wm_string_test (name=0xbfffdd38 "") at x11_common.c:123
#5 0x4037b14d in _XError () from /usr/X11R6/lib/libX11.so.6
#6 0x4037977b in _XReply () from /usr/X11R6/lib/libX11.so.6
#7 0x4037509a in XSync () from /usr/X11R6/lib/libX11.so.6
#8 0x080a888a in vo_x11_selectinput_witherr (display=0x83f1b18, w=48234525,
event_mask=4358221) at x11_common.c:876
#9 0x080a9bbf in config (width=320, height=240, d_width=320,
d_height=48234525, flags=138353432, title=0x82594d0 "MPlayer",
format=4358221) at vo_x11.c:318
It seems setting the Colormap attribute causes it. Changing
--- libvo/vo_x11.c.orig Thu Dec 26 18:18:31 2002
+++ libvo/vo_x11.c Thu Dec 26 18:18:32 2002
@@ -298,8 +298,8 @@
xswa.background_pixel=0;
xswa.border_pixel=0;
- xswa.colormap=theCmap;
- xswamask=CWBackPixel | CWBorderPixel | CWColormap;
+ //xswa.colormap=theCmap;
+ xswamask=CWBackPixel | CWBorderPixel;// | CWColormap;
#ifdef HAVE_XF86VM
if ( vm )
makes this driver work for me. Any ideas what I should do to make it work?
Regards,
Koos Vriezen
(Please CC me)
More information about the MPlayer-users
mailing list