gst-editing-services: ges: Enhance some debug logging

Thibault Saunier tsaunier at kemper.freedesktop.org
Wed Jan 11 07:04:33 PST 2012


Module: gst-editing-services
Branch: master
Commit: a9193def7640c4c137bd7139bab8639b0d7ef863
URL:    http://cgit.freedesktop.org/gstreamer/gst-editing-services/commit/?id=a9193def7640c4c137bd7139bab8639b0d7ef863

Author: Thibault Saunier <thibault.saunier at collabora.com>
Date:   Wed Nov 30 21:47:54 2011 -0300

ges: Enhance some debug logging

Also make sure not to warn when it shouldn't

---

 ges/ges-timeline-object.c |    2 +-
 ges/ges-track.c           |    4 +++-
 2 files changed, 4 insertions(+), 2 deletions(-)

diff --git a/ges/ges-timeline-object.c b/ges/ges-timeline-object.c
index 45208c5..f4c3334 100644
--- a/ges/ges-timeline-object.c
+++ b/ges/ges-timeline-object.c
@@ -444,7 +444,7 @@ ges_timeline_object_create_track_objects_func (GESTimelineObject * object,
 
   result = ges_timeline_object_create_track_object (object, track);
   if (!result) {
-    GST_WARNING ("couldn't create track object");
+    GST_DEBUG ("Did not create track object");
     return FALSE;
   }
   ges_track_object_set_timeline_object (result, object);
diff --git a/ges/ges-track.c b/ges/ges-track.c
index 4d7b69e..2e481f3 100644
--- a/ges/ges-track.c
+++ b/ges/ges-track.c
@@ -456,7 +456,9 @@ ges_track_add_object (GESTrack * track, GESTrackObject * object)
     return FALSE;
   }
 
-  GST_DEBUG ("Adding object to ourself");
+  GST_DEBUG ("Adding object %s to ourself %s",
+      GST_OBJECT_NAME (ges_track_object_get_gnlobject (object)),
+      GST_OBJECT_NAME (track->priv->composition));
 
   if (G_UNLIKELY (!gst_bin_add (GST_BIN (track->priv->composition),
               ges_track_object_get_gnlobject (object)))) {



More information about the gstreamer-commits mailing list