registry: fix comment formatting

This commit is contained in:
Stefan Kost 2009-05-31 22:37:03 +03:00
parent 7e4b164c12
commit 612387da25

View file

@ -446,7 +446,8 @@ gst_registry_add_feature (GstRegistry * registry, GstPluginFeature * feature)
GST_DEBUG_OBJECT (registry, "replacing existing feature %p (%s)", GST_DEBUG_OBJECT (registry, "replacing existing feature %p (%s)",
existing_feature, feature->name); existing_feature, feature->name);
/* Remove the existing feature from the list now, before we insert the new /* Remove the existing feature from the list now, before we insert the new
* one, but don't unref yet because the hash is still storing a reference to * it. */ * one, but don't unref yet because the hash is still storing a reference to
* it. */
registry->features = g_list_remove (registry->features, existing_feature); registry->features = g_list_remove (registry->features, existing_feature);
} }
@ -456,7 +457,8 @@ gst_registry_add_feature (GstRegistry * registry, GstPluginFeature * feature)
g_hash_table_replace (registry->feature_hash, feature->name, feature); g_hash_table_replace (registry->feature_hash, feature->name, feature);
if (G_UNLIKELY (existing_feature)) { if (G_UNLIKELY (existing_feature)) {
/* We unref now. No need to remove the feature name from the hash table, it * got replaced by the new feature */ /* We unref now. No need to remove the feature name from the hash table, it
* got replaced by the new feature */
gst_object_unref (existing_feature); gst_object_unref (existing_feature);
} }