gst/gstplugin.c: If we fail to load a plugin because of unresolved symbols or missing libraries and spew a warning to...

Original commit message from CVS:
* gst/gstplugin.c: (gst_plugin_load_file):
If we fail to load a plugin because of unresolved symbols or missing
libraries and spew a warning to stderr, we may just as well mention
which plugin it was that failed to load.
This commit is contained in:
Tim-Philipp Müller 2007-05-16 19:35:46 +00:00
parent ffcc7dc992
commit 7366c4e49f
2 changed files with 8 additions and 1 deletions

View file

@ -1,3 +1,10 @@
2007-05-16 Tim-Philipp Müller <tim at centricular dot net>
* gst/gstplugin.c: (gst_plugin_load_file):
If we fail to load a plugin because of unresolved symbols or missing
libraries and spew a warning to stderr, we may just as well mention
which plugin it was that failed to load.
2007-05-13 David Schleef <ds@schleef.org>
* docs/Makefile.am: the gtk-doc makefile snippet correctly

View file

@ -417,7 +417,7 @@ gst_plugin_load_file (const gchar * filename, GError ** error)
/* If we failed to open the shared object, then it's probably because a
* plugin is linked against the wrong libraries. Print out an easy-to-see
* message in this case. */
g_warning ("Failed to load plugin: %s", g_module_error ());
g_warning ("Failed to load plugin '%s': %s", filename, g_module_error ());
goto return_error;
}