--- ../gstwildmidi.c	2008-03-13 09:25:20.000000000 -0500
+++ ext/timidity/gstwildmidi.c	2008-06-10 05:24:25.000000000 -0500
@@ -172,7 +172,7 @@
   }
 
   if (path == NULL) {
-    path = g_build_path (G_DIR_SEPARATOR_S, "/etc", "timidity.cfg", NULL);
+    path = g_build_path (G_DIR_SEPARATOR_S, "/etc/wildmidi", "wildmidi.cfg", NULL);
     GST_DEBUG ("trying %s", path);
     if (path && (g_access (path, R_OK) == -1)) {
       g_free (path);
@@ -196,7 +196,7 @@
   ret = WildMidi_Init (path, WILDMIDI_RATE, 0);
   g_free (path);
 
-  return (ret == 0);
+  return (0);
 }
 
 /* initialize the plugin's class */
@@ -220,6 +220,10 @@
   g_object_class_install_property (gobject_class, ARG_HIGH_QUALITY,
       g_param_spec_boolean ("high-quality", "High Quality",
           "High Quality", TRUE, G_PARAM_READWRITE | G_PARAM_CONSTRUCT));
+  	  /* initialise wildmidi library */
+  if (!wildmidi_open_config ()) {
+    GST_WARNING ("can't initialize wildmidi");
+  }
 }
 
 /* initialize the new element
@@ -231,14 +235,7 @@
 gst_wildmidi_init (GstWildmidi * filter, GstWildmidiClass * g_class)
 {
   GstElementClass *klass = GST_ELEMENT_GET_CLASS (filter);
-
-  /* initialise wildmidi library */
-  if (wildmidi_open_config ()) {
-    filter->initialized = TRUE;
-  } else {
-    GST_WARNING ("can't initialize wildmidi");
-  }
-
+	filter->initialized = TRUE;
   filter->sinkpad =
       gst_pad_new_from_template (gst_element_class_get_pad_template (klass,
           "sink"), "sink");
