mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-11 09:55:36 +00:00
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
This commit is contained in:
parent
72cae37f93
commit
cdb7e28513
1 changed files with 6 additions and 6 deletions
12
gst/gst.c
12
gst/gst.c
|
@ -259,6 +259,12 @@ init_post (void)
|
||||||
gst_autoplugfactory_get_type ();
|
gst_autoplugfactory_get_type ();
|
||||||
#endif
|
#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_cpu_initialize ();
|
||||||
_gst_props_initialize ();
|
_gst_props_initialize ();
|
||||||
_gst_caps_initialize ();
|
_gst_caps_initialize ();
|
||||||
|
@ -294,12 +300,6 @@ init_post (void)
|
||||||
_gst_progname = g_strdup("gstprog");
|
_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... */
|
/* FIXME: this is never true... */
|
||||||
if (showhelp) {
|
if (showhelp) {
|
||||||
guint i;
|
guint i;
|
||||||
|
|
Loading…
Reference in a new issue