From 2ed6c06492c3e1c69ba8410b5013a36df1fbed19 Mon Sep 17 00:00:00 2001 From: Thomas Vander Stichele Date: Thu, 29 Jul 2004 20:26:32 +0000 Subject: [PATCH] fix instances in core before making this an error Original commit message from CVS: fix instances in core before making this an error --- gst/gstplugin.c | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/gst/gstplugin.c b/gst/gstplugin.c index 209ad3f327..ba1862ade1 100644 --- a/gst/gstplugin.c +++ b/gst/gstplugin.c @@ -790,8 +790,9 @@ gst_plugin_add_feature (GstPlugin * plugin, GstPluginFeature * feature) { GstPluginFeature *oldfeature; - /* FIXME 0.9: get reference counting somewhat right in here, GstPluginFeatures - * should probably be GstObjects that are sinked when adding them to a plugin */ + /* FIXME 0.9: get reference counting somewhat right in here, + * GstPluginFeatures should probably be GstObjects that are sinked when + * adding them to a plugin */ g_return_if_fail (plugin != NULL); g_return_if_fail (GST_IS_PLUGIN_FEATURE (feature)); g_return_if_fail (feature != NULL); @@ -800,11 +801,11 @@ gst_plugin_add_feature (GstPlugin * plugin, GstPluginFeature * feature) GST_PLUGIN_FEATURE_NAME (feature), G_OBJECT_TYPE (feature)); if (oldfeature == feature) { - GST_ERROR ("feature %s has already been added", + GST_WARNING ("feature %s has already been added", GST_PLUGIN_FEATURE_NAME (feature)); /* g_object_unref (feature); */ } else if (oldfeature) { - GST_ERROR ("feature %s already present in plugin", + GST_WARNING ("feature %s already present in plugin", GST_PLUGIN_FEATURE_NAME (feature)); /* g_object_unref (feature); */ } else {