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

Fix vout window capability name

(Now agrees with module_need)
parent 44a1dd65
...@@ -69,7 +69,7 @@ vlc_module_begin(); ...@@ -69,7 +69,7 @@ vlc_module_begin();
add_shortcut( "maemo" ); add_shortcut( "maemo" );
add_submodule(); add_submodule();
set_capability( "vout window", 50 ); set_capability( "vout_window", 50 );
set_callbacks( OpenWindow, CloseWindow ); set_callbacks( OpenWindow, CloseWindow );
vlc_module_end(); vlc_module_end();
......
...@@ -225,7 +225,7 @@ vlc_module_begin () ...@@ -225,7 +225,7 @@ vlc_module_begin ()
set_callbacks( OpenDialogs, Close ) set_callbacks( OpenDialogs, Close )
#if 0 /* this is totally broken */ #if 0 /* this is totally broken */
add_submodule () add_submodule ()
set_capability( "vout window", 50 ) set_capability( "vout_window", 50 )
set_callbacks( WindowOpen, WindowClose ) set_callbacks( WindowOpen, WindowClose )
#endif #endif
vlc_module_end () vlc_module_end ()
......
...@@ -490,7 +490,7 @@ vlc_module_begin () ...@@ -490,7 +490,7 @@ vlc_module_begin ()
add_shortcut( "skins" ) add_shortcut( "skins" )
add_submodule () add_submodule ()
set_capability( "vout window", 51 ) set_capability( "vout_window", 51 )
set_callbacks( WindowOpen, WindowClose ) set_callbacks( WindowOpen, WindowClose )
add_submodule () add_submodule ()
......
...@@ -116,7 +116,7 @@ void *vout_RequestWindow( vout_thread_t *p_vout, ...@@ -116,7 +116,7 @@ void *vout_RequestWindow( vout_thread_t *p_vout,
wnd->pos_y = *pi_y_hint; wnd->pos_y = *pi_y_hint;
vlc_object_attach (wnd, p_vout); vlc_object_attach (wnd, p_vout);
wnd->module = module_need (wnd, "vout window", 0, 0); wnd->module = module_need (wnd, "vout_window", 0, 0);
if (wnd->module == NULL) if (wnd->module == NULL)
{ {
msg_Dbg (wnd, "no window provider available"); msg_Dbg (wnd, "no window provider available");
......
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