mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-13 12:51:16 +00:00
TimelineLayer: Add debug statement regarding priorities
This commit is contained in:
parent
cc3634e18c
commit
7176c26810
1 changed files with 4 additions and 0 deletions
|
@ -232,6 +232,10 @@ ges_timeline_layer_add_object (GESTimelineLayer * layer,
|
|||
/* Inform the object it's now in this layer */
|
||||
ges_timeline_object_set_layer (object, layer);
|
||||
|
||||
GST_DEBUG ("current object priority : %d, layer min/max : %d/%d",
|
||||
GES_TIMELINE_OBJECT_PRIORITY (object),
|
||||
layer->min_gnl_priority, layer->max_gnl_priority);
|
||||
|
||||
/* Set the priority. */
|
||||
if (GES_TIMELINE_OBJECT_PRIORITY (object) > (layer->max_gnl_priority)) {
|
||||
ges_timeline_object_set_priority (object, layer->max_gnl_priority);
|
||||
|
|
Loading…
Reference in a new issue