summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Kost <ensonic@users.sf.net>2009-05-31 22:37:03 +0300
committerStefan Kost <ensonic@users.sf.net>2009-05-31 22:39:05 +0300
commit612387da2561658760023a589c38ca491165b5d3 (patch)
tree8df76940fdfcd3c9abd053d33380b3e92025f893
parent7e4b164c125926784805446482151e4e7bfffe96 (diff)
registry: fix comment formatting
-rw-r--r--gst/gstregistry.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/gstregistry.c b/gst/gstregistry.c
index 07bfef297a..23a86f483b 100644
--- a/gst/gstregistry.c
+++ b/gst/gstregistry.c
@@ -446,7 +446,8 @@ gst_registry_add_feature (GstRegistry * registry, GstPluginFeature * feature)
446 GST_DEBUG_OBJECT (registry, "replacing existing feature %p (%s)", 446 GST_DEBUG_OBJECT (registry, "replacing existing feature %p (%s)",
447 existing_feature, feature->name); 447 existing_feature, feature->name);
448 /* Remove the existing feature from the list now, before we insert the new 448 /* Remove the existing feature from the list now, before we insert the new
449 * one, but don't unref yet because the hash is still storing a reference to * it. */ 449 * one, but don't unref yet because the hash is still storing a reference to
450 * it. */
450 registry->features = g_list_remove (registry->features, existing_feature); 451 registry->features = g_list_remove (registry->features, existing_feature);
451 } 452 }
452 453
@@ -456,7 +457,8 @@ gst_registry_add_feature (GstRegistry * registry, GstPluginFeature * feature)
456 g_hash_table_replace (registry->feature_hash, feature->name, feature); 457 g_hash_table_replace (registry->feature_hash, feature->name, feature);
457 458
458 if (G_UNLIKELY (existing_feature)) { 459 if (G_UNLIKELY (existing_feature)) {
459 /* We unref now. No need to remove the feature name from the hash table, it * got replaced by the new feature */ 460 /* We unref now. No need to remove the feature name from the hash table, it
461 * got replaced by the new feature */
460 gst_object_unref (existing_feature); 462 gst_object_unref (existing_feature);
461 } 463 }
462 464