diff options
author | Edward Hervey <bilboed@bilboed.com> | 2005-11-26 11:28:32 +0000 |
---|---|---|
committer | Edward Hervey <bilboed@bilboed.com> | 2005-11-26 11:28:32 +0000 |
commit | 8a5411d0be93bcf25faf8169e45ea565037c9f83 (patch) | |
tree | e2ff80a96e035ed6f6c36eae005facf4ab9a1399 /gst/gstpluginfeature.c | |
parent | 4b3455b7a888cfdba7f9c8dd032bb99327de4916 (diff) |
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.
Diffstat (limited to 'gst/gstpluginfeature.c')
-rw-r--r-- | gst/gstpluginfeature.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gst/gstpluginfeature.c b/gst/gstpluginfeature.c index 86071a363..b2c0bdcfb 100644 --- a/gst/gstpluginfeature.c +++ b/gst/gstpluginfeature.c @@ -110,7 +110,7 @@ gst_plugin_feature_load (GstPluginFeature * feature) GST_DEBUG ("loading plugin %s", feature->plugin_name); plugin = gst_plugin_load_by_name (feature->plugin_name); 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)); return NULL; } |