gst/gstplugin.c: If an so file has no plugin entry point, unload the module.

Original commit message from CVS:
* gst/gstplugin.c: (gst_plugin_load_file):
If an so file has no plugin entry point, unload the module.
This commit is contained in:
Michael Smith 2006-05-12 09:28:22 +00:00
parent c31688b0f0
commit b71fd2f4f6
2 changed files with 6 additions and 0 deletions

View file

@ -1,3 +1,8 @@
2006-05-12 Michael Smith <msmith@fluendo.com>
* gst/gstplugin.c: (gst_plugin_load_file):
If an so file has no plugin entry point, unload the module.
2006-05-11 Wim Taymans <wim@fluendo.com>
* plugins/elements/gstqueue.c: (gst_queue_chain), (gst_queue_loop),

View file

@ -428,6 +428,7 @@ gst_plugin_load_file (const gchar * filename, GError ** error)
GST_PLUGIN_ERROR,
GST_PLUGIN_ERROR_MODULE,
"File \"%s\" is not a GStreamer plugin", filename);
g_module_close (module);
goto return_error;
}
plugin->orig_desc = (GstPluginDesc *) ptr;