Commit 8e0a2de2 authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

Skins2: partial vout window fixes

This remains seemingly badly unsafe
parent 4417073e
......@@ -302,7 +302,7 @@ static int WindowOpen( vlc_object_t *p_this )
/* FIXME: most probably not thread-safe,
* albeit no worse than ever before */
pWnd->handle = VlcProc::getWindow( pIntf, pWnd->vout,
pWnd->handle.hwnd = VlcProc::getWindow( pIntf, pWnd->vout,
&pWnd->pos_x, &pWnd->pos_y,
&pWnd->width, &pWnd->height );
pWnd->p_private = pIntf;
......@@ -506,7 +506,11 @@ vlc_module_begin ()
add_shortcut( "skins" )
add_submodule ()
set_capability( "vout_window", 51 )
#ifndef WIN32
set_capability( "xwindow", 51 )
#else
set_capability( "hwnd", 51 )
#endif
set_callbacks( WindowOpen, WindowClose )
add_submodule ()
......
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