Commit b97eacb6 authored by Sam Hocevar's avatar Sam Hocevar

* src/misc/modules:

    + Only consider psz_program when looking for an interface plugin.
parent 9898f603
...@@ -500,6 +500,7 @@ module_t * __module_Need( vlc_object_t *p_this, const char *psz_capability, ...@@ -500,6 +500,7 @@ module_t * __module_Need( vlc_object_t *p_this, const char *psz_capability,
/* Special case: test if we requested a particular intf plugin */ /* Special case: test if we requested a particular intf plugin */
if( !i_shortcuts && p_module->psz_program if( !i_shortcuts && p_module->psz_program
&& !strcmp( psz_capability, "interface" )
&& !strcmp( p_module->psz_program, && !strcmp( p_module->psz_program,
p_this->p_vlc->psz_object_name ) ) p_this->p_vlc->psz_object_name ) )
{ {
......
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