From: Gildas Bazin Date: Thu, 24 Jul 2003 22:58:21 +0000 (+0000) Subject: * src/misc/modules.c: if module_Need() was passed an interface module name, respect... X-Git-Tag: 0.6.1~44 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=b55849264b74db669bde9f35fb71c973f8211d6d;p=vlc * 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. --- diff --git a/src/misc/modules.c b/src/misc/modules.c index fb35e8e46a..f24c3e8017 100644 --- a/src/misc/modules.c +++ b/src/misc/modules.c @@ -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 * Ethan C. Baldridge @@ -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 ) ) {