From cdb7e28513b0e231d1080ae25d7f30d801acf172 Mon Sep 17 00:00:00 2001 From: Steve Baker Date: Wed, 20 Feb 2002 20:04:46 +0000 Subject: [PATCH] move GST_PLUGIN_PATH before _gst_plugin_initialize so that it is noticed Original commit message from CVS: move GST_PLUGIN_PATH before _gst_plugin_initialize so that it is noticed --- gst/gst.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/gst/gst.c b/gst/gst.c index d5a5fe134a..8ef207605d 100644 --- a/gst/gst.c +++ b/gst/gst.c @@ -259,6 +259,12 @@ init_post (void) gst_autoplugfactory_get_type (); #endif + /* check for ENV variables */ + { + const gchar *plugin_path = g_getenv("GST_PLUGIN_PATH"); + split_and_iterate (plugin_path, G_SEARCHPATH_SEPARATOR_S, add_path_func); + } + _gst_cpu_initialize (); _gst_props_initialize (); _gst_caps_initialize (); @@ -294,12 +300,6 @@ init_post (void) _gst_progname = g_strdup("gstprog"); } - /* check for ENV variables */ - { - const gchar *plugin_path = g_getenv("GST_PLUGIN_PATH"); - split_and_iterate (plugin_path, G_SEARCHPATH_SEPARATOR_S, add_path_func); - } - /* FIXME: this is never true... */ if (showhelp) { guint i;