mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-23 10:11:08 +00:00
ges: Some debug logging enhancements
This commit is contained in:
parent
ef96f26e8a
commit
bc8c709303
2 changed files with 12 additions and 1 deletions
|
@ -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) {
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue