From: Edward Hervey Date: Sat, 26 Nov 2005 11:28:32 +0000 (+0000) Subject: gst/gstpluginfeature.c: This shouldn't issue a g_warning since it returns NULL if... X-Git-Tag: RELEASE-0_9_7~118 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=8a5411d0be93bcf25faf8169e45ea565037c9f83;p=platform%2Fupstream%2Fgstreamer.git 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. --- diff --git a/ChangeLog b/ChangeLog index 05a889b..ba20f65 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2005-11-26 Edward Hervey + + * 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 * gst/gstbin.c: (gst_bin_handle_message_func): diff --git a/gst/gstpluginfeature.c b/gst/gstpluginfeature.c index 86071a3..b2c0bdc 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; }