From 8d96c1b5a9344b593e8fbc1f4f67cc053754eaf9 Mon Sep 17 00:00:00 2001 From: Guenter Bartsch Date: Wed, 23 Oct 2002 22:23:46 +0000 Subject: remove superflous xine_scan_plugins function, load plugins in xine_init after frontends have loaded the configfile CVS patchset: 2979 CVS date: 2002/10/23 22:23:46 --- src/xine-engine/xine.c | 20 +++++++------------- 1 file changed, 7 insertions(+), 13 deletions(-) diff --git a/src/xine-engine/xine.c b/src/xine-engine/xine.c index fce314595..66d122681 100644 --- a/src/xine-engine/xine.c +++ b/src/xine-engine/xine.c @@ -17,7 +17,7 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA * - * $Id: xine.c,v 1.173 2002/10/23 11:44:31 jcdutton Exp $ + * $Id: xine.c,v 1.174 2002/10/23 22:23:46 guenter Exp $ * * top-level xine functions * @@ -611,21 +611,9 @@ xine_t *xine_new (void) { pthread_mutex_init (&this->streams_lock, NULL); - /* - * plugins - */ - - scan_plugins(this); - return this; } -void xine_scan_plugins(xine_t *this) { - printf("scan plugins entered\n"); - scan_plugins(this); - printf("scan plugins finished\n"); -} - void xine_init (xine_t *this) { static char *demux_strategies[] = {"default", "reverse", "content", @@ -637,6 +625,12 @@ void xine_init (xine_t *this) { /* probe for optimized memcpy or config setting */ xine_probe_fast_memcpy (this->config); + /* + * plugins + */ + + scan_plugins(this); + /* * content detection strategy */ -- cgit v1.2.3