mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-20 14:18:34 +00:00
plugin: Also look at GST_PLUGIN_PATH_1_0
This commit is contained in:
parent
efbce60285
commit
adca3bf8f7
1 changed files with 6 additions and 2 deletions
|
@ -146,7 +146,9 @@ gst_python_plugin_load (GstPlugin * plugin)
|
||||||
/* Mimic the order in which the registry is checked in core */
|
/* Mimic the order in which the registry is checked in core */
|
||||||
|
|
||||||
/* 1. check env_variable GST_PLUGIN_PATH */
|
/* 1. check env_variable GST_PLUGIN_PATH */
|
||||||
plugin_path = g_getenv ("GST_PLUGIN_PATH");
|
plugin_path = g_getenv ("GST_PLUGIN_PATH_1_0");
|
||||||
|
if (plugin_path == NULL)
|
||||||
|
plugin_path = g_getenv ("GST_PLUGIN_PATH");
|
||||||
if (plugin_path) {
|
if (plugin_path) {
|
||||||
char **list;
|
char **list;
|
||||||
int i;
|
int i;
|
||||||
|
@ -164,7 +166,9 @@ gst_python_plugin_load (GstPlugin * plugin)
|
||||||
}
|
}
|
||||||
|
|
||||||
/* 2. Check for GST_PLUGIN_SYSTEM_PATH */
|
/* 2. Check for GST_PLUGIN_SYSTEM_PATH */
|
||||||
plugin_path = g_getenv ("GST_PLUGIN_SYSTEM_PATH");
|
plugin_path = g_getenv ("GST_PLUGIN_SYSTEM_PATH_1_0");
|
||||||
|
if (plugin_path == NULL)
|
||||||
|
plugin_path = g_getenv ("GST_PLUGIN_SYSTEM_PATH");
|
||||||
if (plugin_path == NULL) {
|
if (plugin_path == NULL) {
|
||||||
char *home_plugins;
|
char *home_plugins;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue