diff --git a/ChangeLog b/ChangeLog index 81873f79ae..8783140105 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2008-08-28 Stefan Kost + + * gst/gstobject.c: + Put the gst_object_get_name() back in. + 2008-08-28 Stefan Kost * gst/gstpadtemplate.c: diff --git a/gst/gstobject.c b/gst/gstobject.c index 1d410817c4..8e14e6548a 100644 --- a/gst/gstobject.c +++ b/gst/gstobject.c @@ -1100,11 +1100,13 @@ gst_object_get_path_string (GstObject * object) if (GST_IS_OBJECT (parents->data)) { GstObject *item = GST_OBJECT_CAST (parents->data); GstObjectClass *oclass = GST_OBJECT_GET_CLASS (item); + gchar *objname = gst_object_get_name (item); - component = g_strdup_printf ("%s:%s", typename, GST_OBJECT_NAME (item)); + component = g_strdup_printf ("%s:%s", typename, objname); separator = oclass->path_string_separator; /* and unref now */ gst_object_unref (item); + g_free (objname); } else { if (typename) { component = g_strdup_printf ("%s:%p", typename, parents->data);