[vlc-devel] commit: with skins2(Windows), solve vlc sometimes hanging ( blocked in CreateWindowEx) (Erwan Tulou )

git version control git at videolan.org
Wed Mar 25 09:52:50 CET 2009


vlc | branch: master | Erwan Tulou <brezhoneg1 at yahoo.fr> | Thu Mar 19 14:06:47 2009 +0100| [ab35f42e4840664596282f5f41b0e11eb1e8ad0e] | committer: Jean-Baptiste Kempf 

with skins2(Windows), solve vlc sometimes hanging (blocked in CreateWindowEx)

when multiple vouts are launched (e.g audio-visual)

Signed-off-by: Jean-Baptiste Kempf <jb at videolan.org>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=ab35f42e4840664596282f5f41b0e11eb1e8ad0e
---

 modules/gui/skins2/win32/win32_window.cpp |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/modules/gui/skins2/win32/win32_window.cpp b/modules/gui/skins2/win32/win32_window.cpp
index 2db62c2..4725d83 100644
--- a/modules/gui/skins2/win32/win32_window.cpp
+++ b/modules/gui/skins2/win32/win32_window.cpp
@@ -55,9 +55,10 @@ Win32Window::Win32Window( intf_thread_t *pIntf, GenericWindow &rWindow,
     {
         // Child window (for vout)
         m_hWnd_parent = pParentWindow->getHandle();
-        m_hWnd = CreateWindowEx( WS_EX_TOOLWINDOW, "SkinWindowClass",
-            "default name", WS_CHILD, CW_USEDEFAULT, CW_USEDEFAULT,
-            CW_USEDEFAULT, CW_USEDEFAULT, m_hWnd_parent, 0, hInst, NULL );
+        m_hWnd = CreateWindowEx( WS_EX_TOOLWINDOW | WS_EX_NOPARENTNOTIFY,
+                     "SkinWindowClass", "default name", WS_CHILD,
+                     CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT, CW_USEDEFAULT,
+                     m_hWnd_parent, 0, hInst, NULL );
     }
     else
     {




More information about the vlc-devel mailing list