mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-03-27 11:32:51 +00:00
ges: Enhance some debug logging
Also make sure not to warn when it shouldn't
This commit is contained in:
parent
82974d9a9d
commit
a9193def76
2 changed files with 4 additions and 2 deletions
|
@ -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);
|
||||
|
|
|
@ -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)))) {
|
||||
|
|
Loading…
Reference in a new issue