GESTrackEffect: Use gst_object_unref for the hash value destroyfunc

The values are GstObjects and it makes it easier to track in debug logs
when they are being unreffed.
This commit is contained in:
Edward Hervey 2011-05-07 13:22:50 +02:00
parent 3195bd1303
commit 7b303a38c5

View file

@ -111,7 +111,7 @@ ges_track_effect_get_props_hashtable (GESTrackObject * self)
} }
ret = g_hash_table_new_full ((GHashFunc) pspec_hash, pspec_equal, ret = g_hash_table_new_full ((GHashFunc) pspec_hash, pspec_equal,
(GDestroyNotify) g_param_spec_unref, g_object_unref); (GDestroyNotify) g_param_spec_unref, gst_object_unref);
/* We go over child elements recursivly, and add writable properties to the /* We go over child elements recursivly, and add writable properties to the
* hashtable * hashtable