figure out problem with dynamic
authorThomas Vander Stichele <thomas@apestaart.org>
Sat, 26 Jun 2004 16:58:17 +0000 (16:58 +0000)
committerThomas Vander Stichele <thomas@apestaart.org>
Sat, 26 Jun 2004 16:58:17 +0000 (16:58 +0000)
Original commit message from CVS:
figure out problem with dynamic

gst/gstplugin.c

index 67af719..4678673 100644 (file)
@@ -358,7 +358,9 @@ gst_plugin_load_file (const gchar * filename, GError ** error)
                 plugin->desc.name, filename);
             g_set_error (error, GST_PLUGIN_ERROR,
                 GST_PLUGIN_ERROR_NAME_MISMATCH,
                 plugin->desc.name, filename);
             g_set_error (error, GST_PLUGIN_ERROR,
                 GST_PLUGIN_ERROR_NAME_MISMATCH,
-                "already a plugin with name \"%s\" loaded", desc->name);
+                "plugin %p from file \"%s\" with same name %s is already "
+                "loaded, aborting loading of \"%s\"", plugin, plugin->filename,
+                plugin->desc.name, filename);
             if (free_plugin)
               g_free (plugin);
             return NULL;
             if (free_plugin)
               g_free (plugin);
             return NULL;