mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 17:09:48 +00:00
omx: improve debug message when we can't find the config file
Mention where we looked for the config file.
This commit is contained in:
parent
22742e7af5
commit
453d81886d
1 changed files with 8 additions and 1 deletions
|
@ -2387,7 +2387,14 @@ plugin_init (GstPlugin * plugin)
|
|||
config = g_key_file_new ();
|
||||
if (!g_key_file_load_from_dirs (config, *config_name,
|
||||
(const gchar **) config_dirs, NULL, G_KEY_FILE_NONE, &err)) {
|
||||
GST_ERROR ("Failed to load configuration file: %s", err->message);
|
||||
gchar *paths;
|
||||
|
||||
paths = g_strjoinv (":", config_dirs);
|
||||
GST_ERROR ("Failed to load configuration file: %s (searched in: %s as per "
|
||||
"GST_OMX_CONFIG_DIR environment variable, the xdg user config "
|
||||
"directory (or XDG_CONFIG_HOME) and the system config directory "
|
||||
"(or XDG_CONFIG_DIRS)", err->message, paths);
|
||||
g_free (paths);
|
||||
g_error_free (err);
|
||||
goto done;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue