[vlc-devel] [PATCH] -- skins2(Windows) sometimes hangs
Jean-Baptiste Kempf
jb at videolan.org
Wed Mar 25 09:53:59 CET 2009
On Thu, Mar 19, 2009 at 02:35:24PM +0100, brezhoneg1 wrote :
> With skins2 on Windows, vlc can often hang in CreateWindowEx.
> (Especially when using audio-visual)
Noticed that too.
> Though windows created in multiple threads is not a problem on
> MS-Windows as it is with xlib, literature on the web warns of possible
> blocking situations when (re)parenting is done between a child and a
> parent residing in two different threads. A way to avoid this blocking
> problem is to tell the child windows not to send parentNotify messages
> to the parent.
True. This is sub-optimal, but I have no other solution.
> This patch adds the WS_EX_NOPARENTNOTIFY option in CreateWindowEx. Tests
> indeed show no more such hanging when this patch is applied.
Applied.
Best Regards,
--
Jean-Baptiste Kempf
http://www.jbkempf.com/
More information about the vlc-devel
mailing list