Original commit message from CVS:
* gst/gstobject.c:
Put the gst_object_get_name() back in.
2008-08-28 Stefan Kost <ensonic@users.sf.net>
+ * gst/gstobject.c:
+ Put the gst_object_get_name() back in.
+
+2008-08-28 Stefan Kost <ensonic@users.sf.net>
+
* gst/gstpadtemplate.c:
The old behaviour was that gst_pad_template_new() takes ownership of
the caps. As we now call g_object_new() which calls g_object_set() and
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);