Commit ab35f42e authored by Erwan Tulou's avatar Erwan Tulou Committed by 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: default avatarJean-Baptiste Kempf <jb@videolan.org>
parent 28d7e588
......@@ -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
{
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment