mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-12-23 00:36:51 +00:00
object naming will start with 0 (it was one before)
Original commit message from CVS: object naming will start with 0 (it was one before)
This commit is contained in:
parent
e10f510ce2
commit
ac9df4e988
1 changed files with 1 additions and 1 deletions
|
@ -282,7 +282,7 @@ gst_object_set_name_default (GstObject *object)
|
|||
object_name_counts = g_hash_table_new (g_str_hash, g_str_equal);
|
||||
|
||||
count = GPOINTER_TO_INT (g_hash_table_lookup (object_name_counts, type_name));
|
||||
g_hash_table_insert (object_name_counts, g_strdup (type_name), GINT_TO_POINTER (++count));
|
||||
g_hash_table_insert (object_name_counts, g_strdup (type_name), GINT_TO_POINTER (count+1));
|
||||
|
||||
G_UNLOCK (object_name_mutex);
|
||||
|
||||
|
|
Loading…
Reference in a new issue