/* Find the gst-plugin-scanner: first try the env-var if it is set,
* otherwise use the installed version */
- env = g_getenv ("GST_PLUGIN_SCANNER");
+ env = g_getenv ("GST_PLUGIN_SCANNER_1_0");
+ if (env == NULL)
+ env = g_getenv ("GST_PLUGIN_SCANNER");
if (env != NULL && *env != '\0') {
GST_LOG ("Trying GST_PLUGIN_SCANNER env var: %s", env);
filename, file_size, file_mtime)) {
g_warning ("External plugin loader failed. This most likely means that "
"the plugin loader helper binary was not found or could not be run. "
- "%s", (g_getenv ("GST_PLUGIN_PATH") != NULL) ?
+ "%s",
+ (g_getenv ("GST_PLUGIN_PATH") || g_getenv ("GST_PLUGIN_PATH_1_0")) ?
"If you are running an uninstalled GStreamer setup, you might need "
"to update your gst-uninstalled script so that the "
"GST_PLUGIN_SCANNER environment variable gets set." : "");
/* GST_PLUGIN_PATH specifies a list of directories to scan for
* additional plugins. These take precedence over the system plugins */
- 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) {
char **list;
int i;
/* GST_PLUGIN_SYSTEM_PATH specifies a list of plugins that are always
* loaded by default. If not set, this defaults to the system-installed
* path, and the plugins installed in the user's home directory */
- 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) {
char *home_plugins;
gboolean have_cache = TRUE;
default_registry = gst_registry_get ();
- registry_file = g_strdup (g_getenv ("GST_REGISTRY"));
+
+ registry_file = g_strdup (g_getenv ("GST_REGISTRY_1_0"));
+ if (registry_file == NULL)
+ registry_file = g_strdup (g_getenv ("GST_REGISTRY"));
if (registry_file == NULL) {
registry_file = g_build_filename (g_get_user_cache_dir (),
"gstreamer-" GST_API_VERSION, "registry." TARGET_CPU ".bin", NULL);