diff --git a/ges/ges-timeline.c b/ges/ges-timeline.c index 004e12340f..1ba8508110 100644 --- a/ges/ges-timeline.c +++ b/ges/ges-timeline.c @@ -509,7 +509,12 @@ discoverer_discovered_cb (GstDiscoverer * discoverer, GESTimelinePrivate *priv = timeline->priv; const gchar *uri = gst_discoverer_info_get_uri (info); - GST_DEBUG ("Discovered uri %s", uri); + + if (err) { + GST_WARNING ("Error while discovering %s: %s", uri, err->message); + return; + } else + GST_DEBUG ("Discovered uri %s", uri); GES_TIMELINE_PENDINGOBJS_LOCK (timeline); @@ -1165,6 +1170,8 @@ ges_timeline_enable_update (GESTimeline * timeline, gboolean enabled) GList *tmp, *tracks; gboolean res = TRUE; + GST_DEBUG_OBJECT (timeline, "%s updates", enabled ? "Enabling" : "Disabling"); + tracks = ges_timeline_get_tracks (timeline); for (tmp = tracks; tmp; tmp = tmp->next) { diff --git a/ges/ges-track-object.c b/ges/ges-track-object.c index f5ce464ef6..534c7c4b0e 100644 --- a/ges/ges-track-object.c +++ b/ges/ges-track-object.c @@ -888,6 +888,10 @@ ges_track_object_get_element (GESTrackObject * object) void ges_track_object_set_locked (GESTrackObject * object, gboolean locked) { + g_return_if_fail (GES_IS_TRACK_OBJECT (object)); + + GST_DEBUG_OBJECT (object, "%s object", locked ? "Locking" : "Unlocking"); + object->priv->locked = locked; }