diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-10-23 22:23:46 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2002-10-23 22:23:46 +0000 |
commit | 8d96c1b5a9344b593e8fbc1f4f67cc053754eaf9 (patch) | |
tree | 0de520fe6c61857396ca285a2b9cdbb658b12809 | |
parent | bc9771c8ad45f7ca38bbc6e877ad90132bff8dc9 (diff) | |
download | xine-lib-8d96c1b5a9344b593e8fbc1f4f67cc053754eaf9.tar.gz xine-lib-8d96c1b5a9344b593e8fbc1f4f67cc053754eaf9.tar.bz2 |
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
-rw-r--r-- | src/xine-engine/xine.c | 20 |
1 files 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 */ |