[vlc-devel] [PATCH} --miscellaneous patches for skins and qt4

Rémi Denis-Courmont rem at videolan.org
Mon Mar 2 17:54:27 CET 2009

Le lundi 2 mars 2009 18:46:28 brezhoneg1, vous avez écrit :
> Patch4:
> Corrects errors like "Xlib: unexpected async reply (sequence 0x9ca)"
> that occur randomly and freeze the skins interface.
> Research on the web shows this error is related to multiple threads
> using xlib within an application.
> Solution seems to be the XInitThreads call, though it is unclear how qt4
> behaves.
> This patch indeed solved this problem (numerous tests), and did not seem
> to create problem with the qt4 dialog.

You can't call XInitThreads at that point without synchronization against 
another plugin calling it. The only places that can arguably call 
XInitThreads are libvlc and vlc.

I tried that. That makes my X11 video output freeze. So no XInitThreads() for 
the time being.

Rémi Denis-Courmont

More information about the vlc-devel mailing list