Commit b5584926 authored by Gildas Bazin's avatar Gildas Bazin

* src/misc/modules.c: if module_Need() was passed an interface module name, respect this choice even if vlc was run with a specific interface shortcut.
parent af85b12e
......@@ -2,7 +2,7 @@
* modules.c : Builtin and plugin modules management functions
*****************************************************************************
* Copyright (C) 2001 VideoLAN
* $Id: modules.c,v 1.125 2003/07/14 21:32:59 sigmunau Exp $
* $Id: modules.c,v 1.126 2003/07/24 22:58:21 gbazin Exp $
*
* Authors: Samuel Hocevar <sam@zoy.org>
* Ethan C. Baldridge <BaldridgeE@cadmus.com>
......@@ -400,7 +400,7 @@ module_t * __module_Need( vlc_object_t *p_this, const char *psz_capability,
}
/* Special case: test if we requested a particular intf plugin */
if( p_module->psz_program
if( !i_shortcuts && p_module->psz_program
&& !strcmp( p_module->psz_program,
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