mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-10-02 08:42:32 +00:00
gst/gstobject.c: Put the gst_object_get_name() back in.
Original commit message from CVS: * gst/gstobject.c: Put the gst_object_get_name() back in.
This commit is contained in:
parent
29f2239a89
commit
0dfab1544c
2 changed files with 8 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
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:
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue