add debug

Original commit message from CVS:
add debug
This commit is contained in:
Thomas Vander Stichele 2004-04-13 10:44:12 +00:00
parent 26663bbf1c
commit 0d4983a512

View file

@ -523,6 +523,7 @@ gst_object_set_parent (GstObject * object, GstObject * parent)
g_return_if_fail (object != parent);
g_return_if_fail (object->parent == NULL);
GST_CAT_LOG_OBJECT (GST_CAT_REFCOUNTING, object, "set parent (ref and sink)");
gst_object_ref (object);
gst_object_sink (object);
object->parent = parent;