[vlc-devel] [PATCH] -- skins2: workaround to possible hangings with xlib

Rémi Denis-Courmont remi at remlab.net
Sun May 24 21:54:49 CEST 2009

Le dimanche 24 mai 2009 22:33:32 brezhoneg1, vous avez écrit :
> - Unlike Ubuntu7.10, skins2 very often (but not always) hangs when
> starting a new input. An expected MapNotify event fails to occur. In the
> attached patch, a counter has been added to get out of an infinite loop
> in case this happens. This (rather ugly) workaround makes it possible to
> use skins2 on Debian quite satisfactorily. In the long run, rewriting
> skins2 with xcb could be a good thing as X11 is really a whimsical thing
> in a multi-threaded context.

Using the XCB video output might just work around the problem, as skins2 
should then be the only Xlib user.

> - Latest ffmpeg repository (svn) really is not skins2-friendly (half the
> bitmaps failed to be displayed as expected ...). I had to retrieve an
> old ffmpeg (one month old) to get back good-looking skins2.

As you probably know, we usually do not control the FFMPEG version on X11 
platforms, as we take whatever the operating system provides rather than the 
version in contrib.

Rémi Denis-Courmont

More information about the vlc-devel mailing list