mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 08:46:40 +00:00
gst/gstregistryxml.c: Don't crash if we failed to load a feature from a plugin.
Original commit message from CVS: * gst/gstregistryxml.c: (load_plugin): Don't crash if we failed to load a feature from a plugin.
This commit is contained in:
parent
2ababa8cbe
commit
9bc0e85dce
3 changed files with 7 additions and 3 deletions
|
@ -1,3 +1,8 @@
|
|||
2005-11-29 Michael Smith <msmith@fluendo.com>
|
||||
|
||||
* gst/gstregistryxml.c: (load_plugin):
|
||||
Don't crash if we failed to load a feature from a plugin.
|
||||
|
||||
2005-11-28 Thomas Vander Stichele <thomas at apestaart dot org>
|
||||
|
||||
* check/pipelines/simple_launch_lines.c: (setup_pipeline),
|
||||
|
|
2
common
2
common
|
@ -1 +1 @@
|
|||
Subproject commit f31468e933b5b980398cf636a37abf16ca46c4a0
|
||||
Subproject commit 33084fbe0531733bc02aa1d9de608206d5553a15
|
|
@ -699,9 +699,8 @@ load_plugin (xmlTextReaderPtr reader, GList ** feature_list)
|
|||
} else if (g_str_equal (tag, "feature")) {
|
||||
GstPluginFeature *feature = load_feature (reader);
|
||||
|
||||
feature->plugin_name = g_strdup (plugin->desc.name);
|
||||
|
||||
if (feature) {
|
||||
feature->plugin_name = g_strdup (plugin->desc.name);
|
||||
*feature_list = g_list_prepend (*feature_list, feature);
|
||||
}
|
||||
} else {
|
||||
|
|
Loading…
Reference in a new issue