always include the installed plugin directories in the path
authorErik Walthinsen <omega@temple-baptist.org>
Fri, 23 Feb 2001 01:57:43 +0000 (01:57 +0000)
committerErik Walthinsen <omega@temple-baptist.org>
Fri, 23 Feb 2001 01:57:43 +0000 (01:57 +0000)
Original commit message from CVS:
always include the installed plugin directories in the path

gst/gstplugin.c

index f6a5d73..7e43fe8 100644 (file)
@@ -80,10 +80,10 @@ _gst_plugin_initialize (void)
                                       PLUGINS_SRCDIR "/gst/elements");
   _gst_plugin_paths = g_list_prepend (_gst_plugin_paths,
                                       PLUGINS_SRCDIR "/gst/types");
-#else /* PLUGINS_USE_SRCDIR */
+#endif /* PLUGINS_USE_SRCDIR */
+
   /* add the main (installed) library path */
   _gst_plugin_paths = g_list_prepend (_gst_plugin_paths, PLUGINS_DIR);
-#endif /* PLUGINS_USE_SRCDIR */
 
   doc = xmlParseFile (GST_CONFIG_DIR"/reg.xml");