mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
registry: improve plugin loader failure message for uninstalled setups
Everyone running an uninstalled git setup is going to wonder about this failure next time they update, so let's mention the solution in the error message.
This commit is contained in:
parent
31218013a3
commit
53c9c9d975
1 changed files with 6 additions and 1 deletions
|
@ -890,7 +890,12 @@ gst_registry_scan_plugin_file (GstRegistryScanContext * context,
|
||||||
GST_DEBUG ("Using scan-helper to load plugin %s", filename);
|
GST_DEBUG ("Using scan-helper to load plugin %s", filename);
|
||||||
if (!_priv_gst_plugin_loader_funcs.load (context->helper,
|
if (!_priv_gst_plugin_loader_funcs.load (context->helper,
|
||||||
filename, file_size, file_mtime)) {
|
filename, file_size, file_mtime)) {
|
||||||
g_warning ("External plugin loader failed...");
|
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) ?
|
||||||
|
"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." : "");
|
||||||
context->helper_state = REGISTRY_SCAN_HELPER_DISABLED;
|
context->helper_state = REGISTRY_SCAN_HELPER_DISABLED;
|
||||||
}
|
}
|
||||||
} else {
|
} else {
|
||||||
|
|
Loading…
Reference in a new issue