gst/gstplugin.c: If we fail to load a plugin because of unresolved symbols or missing...
authorTim-Philipp Müller <tim@centricular.net>
Wed, 16 May 2007 19:35:46 +0000 (19:35 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Wed, 16 May 2007 19:35:46 +0000 (19:35 +0000)
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.

ChangeLog
gst/gstplugin.c

index 2410034..b40c19b 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -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
index 10f133d..048494b 100644 (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;
   }