diff options
author | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-11-18 03:53:23 +0000 |
---|---|---|
committer | Guenter Bartsch <guenter@users.sourceforge.net> | 2001-11-18 03:53:23 +0000 |
commit | 4c71c84391e9a607394b7f7a23877ba15dffbf67 (patch) | |
tree | 53bf6a2b06b97cde43a11cafda54942a3a9bea45 /src/xine-engine/load_plugins.c | |
parent | 4b36ff207a52ea90bfd9b8c34c97f14963f0960d (diff) | |
download | xine-lib-4c71c84391e9a607394b7f7a23877ba15dffbf67.tar.gz xine-lib-4c71c84391e9a607394b7f7a23877ba15dffbf67.tar.bz2 |
new configfile interface, code cleanup, xprintf is gone
CVS patchset: 1064
CVS date: 2001/11/18 03:53:23
Diffstat (limited to 'src/xine-engine/load_plugins.c')
-rw-r--r-- | src/xine-engine/load_plugins.c | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/src/xine-engine/load_plugins.c b/src/xine-engine/load_plugins.c index a1feeac35..147e3b88a 100644 --- a/src/xine-engine/load_plugins.c +++ b/src/xine-engine/load_plugins.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: load_plugins.c,v 1.54 2001/11/17 14:26:39 f1rmb Exp $ + * $Id: load_plugins.c,v 1.55 2001/11/18 03:53:25 guenter Exp $ * * * Load input/demux/audio_out/video_out/codec plugins @@ -179,7 +179,7 @@ void load_demux_plugins (xine_t *this, } void xine_list_demux_plugins (config_values_t *config, - char **identifiers, char **mimetypes) { + char **identifiers, char **mimetypes) { DIR *dir; xine_t *this; int sizeid, sizemime; @@ -193,7 +193,6 @@ void xine_list_demux_plugins (config_values_t *config, *mimetypes = xine_xmalloc (sizemime); this->config = config; - xine_debug = config->lookup_int (config, "xine_debug", 0); install_segv_handler(); @@ -223,10 +222,9 @@ void xine_list_demux_plugins (config_values_t *config, plugin_name = str; if(!(plugin = dlopen (str, RTLD_LAZY))) { - fprintf(stderr, "load_plugins: cannot open demux plugin %s:\n%s\n", + printf ("load_plugins: cannot open demux plugin %s:\n%s\n", str, dlerror()); - } - else { + } else { void *(*initplug) (int, xine_t *); if((initplug = dlsym(plugin, "init_demuxer_plugin")) != NULL) { |