mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-26 11:41:09 +00:00
fix segfault for static plugins
Original commit message from CVS: fix segfault for static plugins
This commit is contained in:
parent
e25612f443
commit
ac726511ce
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
2004-04-05 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* gst/gstplugin.c: (gst_plugin_load_file):
|
||||
fix segfault for when original plugin was loaded statically
|
||||
|
||||
2004-04-05 Benjamin Otte <otte@gnome.org>
|
||||
|
||||
* testsuite/debug/category.c: (main):
|
||||
|
|
|
@ -330,7 +330,7 @@ gst_plugin_load_file (const gchar * filename, GError ** error)
|
|||
} else {
|
||||
free_plugin = FALSE;
|
||||
if (gst_plugin_is_loaded (plugin)) {
|
||||
if (strcmp (plugin->filename, filename) != 0) {
|
||||
if (plugin->filename && strcmp (plugin->filename, filename) != 0) {
|
||||
GST_WARNING
|
||||
("plugin %p from file \"%s\" with same name %s is already "
|
||||
"loaded, aborting loading of \"%s\"", plugin, plugin->filename,
|
||||
|
|
Loading…
Reference in a new issue