diff audacious/pluginenum.c @ 1566:e513069caf71 trunk

[svn] - pls and m3u is now fully modular
author nenolod
date Thu, 10 Aug 2006 20:44:47 -0700
parents c4640c88942d
children 20ff61083530
line wrap: on
line diff
--- a/audacious/pluginenum.c	Thu Aug 10 20:41:43 2006 -0700
+++ b/audacious/pluginenum.c	Thu Aug 10 20:44:47 2006 -0700
@@ -262,6 +262,7 @@
     GList *node;
     OutputPlugin *op;
     InputPlugin *ip;
+    LowlevelPlugin *lp;
     gint dirsel = 0, i = 0;
 
     if (!g_module_supported()) {
@@ -343,6 +344,12 @@
             ip->init();
     }
 
+    for (node = lowlevel_list; node; node = g_list_next(node)) {
+        lp = LOWLEVEL_PLUGIN(node->data);
+        if (lp->init)
+            lp->init();
+    }
+
     if (cfg.disabled_iplugins) {
         disabled = g_strsplit(cfg.disabled_iplugins, ":", 0);
         while (disabled[i]) {