TimelineLayer: Add debug statement regarding priorities
authorEdward Hervey <edward.hervey@collabora.co.uk>
Fri, 26 Nov 2010 12:02:48 +0000 (13:02 +0100)
committerEdward Hervey <edward.hervey@collabora.co.uk>
Sat, 27 Nov 2010 17:12:49 +0000 (18:12 +0100)
ges/ges-timeline-layer.c

index b732c7a9c0cb1cb5e4d330977b74d4aa8f7dfa06..23a978dca35d96e26564d28fab8ebf605007ea89 100644 (file)
@@ -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);