mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-10 17:35:59 +00:00
gst/gstpluginfeature.c: This shouldn't issue a g_warning since it returns NULL if it couldn't find the plugin, and al...
Original commit message from CVS: * gst/gstpluginfeature.c: (gst_plugin_feature_load): This shouldn't issue a g_warning since it returns NULL if it couldn't find the plugin, and all functions using this behave properly on a NULL return. Switching to a GST_WARNING.
This commit is contained in:
parent
4b3455b7a8
commit
8a5411d0be
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,10 @@
|
||||||
|
2005-11-26 Edward Hervey <edward@fluendo.com>
|
||||||
|
|
||||||
|
* gst/gstpluginfeature.c: (gst_plugin_feature_load):
|
||||||
|
This shouldn't issue a g_warning since it returns NULL if it
|
||||||
|
couldn't find the plugin, and all functions using this behave
|
||||||
|
properly on a NULL return. Switching to a GST_WARNING.
|
||||||
|
|
||||||
2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
|
2005-11-25 Jan Schmidt <thaytan@mad.scientist.com>
|
||||||
|
|
||||||
* gst/gstbin.c: (gst_bin_handle_message_func):
|
* gst/gstbin.c: (gst_bin_handle_message_func):
|
||||||
|
|
|
@ -110,7 +110,7 @@ gst_plugin_feature_load (GstPluginFeature * feature)
|
||||||
GST_DEBUG ("loading plugin %s", feature->plugin_name);
|
GST_DEBUG ("loading plugin %s", feature->plugin_name);
|
||||||
plugin = gst_plugin_load_by_name (feature->plugin_name);
|
plugin = gst_plugin_load_by_name (feature->plugin_name);
|
||||||
if (!plugin) {
|
if (!plugin) {
|
||||||
g_critical ("Failed to load plugin containing feature '%s'.",
|
GST_WARNING ("Failed to load plugin containing feature '%s'.",
|
||||||
GST_PLUGIN_FEATURE_NAME (feature));
|
GST_PLUGIN_FEATURE_NAME (feature));
|
||||||
return NULL;
|
return NULL;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue