mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-14 05:12:09 +00:00
ges: Give better names to nleobjects
This commit is contained in:
parent
c0dbfeb433
commit
ef69d5f97d
1 changed files with 7 additions and 1 deletions
|
@ -194,6 +194,7 @@ ges_track_element_constructed (GObject * gobject)
|
|||
{
|
||||
GESTrackElementClass *class;
|
||||
GstElement *nleobject;
|
||||
gchar *tmp;
|
||||
GESTrackElement *object = GES_TRACK_ELEMENT (gobject);
|
||||
|
||||
GST_DEBUG_OBJECT (object, "Creating NleObject");
|
||||
|
@ -208,6 +209,11 @@ ges_track_element_constructed (GObject * gobject)
|
|||
return;
|
||||
}
|
||||
|
||||
tmp = g_strdup_printf ("%s:%s", G_OBJECT_TYPE_NAME (object),
|
||||
GST_OBJECT_NAME (nleobject));
|
||||
gst_object_set_name (GST_OBJECT (nleobject), tmp);
|
||||
g_free (tmp);
|
||||
|
||||
GST_DEBUG_OBJECT (object, "Got a valid NleObject, now filling it in");
|
||||
|
||||
object->priv->nleobject = gst_object_ref (nleobject);
|
||||
|
@ -511,7 +517,7 @@ _set_priority (GESTimelineElement * element, guint32 priority)
|
|||
priority = MIN_NLE_PRIO;
|
||||
}
|
||||
|
||||
GST_DEBUG ("object:%p, priority:%" G_GUINT32_FORMAT, object, priority);
|
||||
GST_DEBUG_OBJECT (object, "priority:%" G_GUINT32_FORMAT, priority);
|
||||
|
||||
if (G_UNLIKELY (priority == _PRIORITY (object)))
|
||||
return FALSE;
|
||||
|
|
Loading…
Reference in a new issue