summaryrefslogtreecommitdiff
path: root/src/xine-engine/load_plugins.c
diff options
context:
space:
mode:
authorGuenter Bartsch <guenter@users.sourceforge.net>2001-11-18 03:53:23 +0000
committerGuenter Bartsch <guenter@users.sourceforge.net>2001-11-18 03:53:23 +0000
commit4c71c84391e9a607394b7f7a23877ba15dffbf67 (patch)
tree53bf6a2b06b97cde43a11cafda54942a3a9bea45 /src/xine-engine/load_plugins.c
parent4b36ff207a52ea90bfd9b8c34c97f14963f0960d (diff)
downloadxine-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.c10
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) {