mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 09:25:42 +00:00
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:
parent
c31688b0f0
commit
b71fd2f4f6
2 changed files with 6 additions and 0 deletions
|
@ -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),
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue