mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-29 21:21:12 +00:00
registry: fix comment formatting
This commit is contained in:
parent
7e4b164c12
commit
612387da25
1 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue