ges: Minor debug enhancements

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/5981>
This commit is contained in:
Thibault Saunier 2023-06-22 22:22:45 -04:00 committed by GStreamer Marge Bot
parent f205b357bd
commit 8d58d2b43b
3 changed files with 4 additions and 3 deletions

View file

@ -517,7 +517,8 @@ _link_tracks (GESPipeline * pipeline)
{
GList *tmp;
GST_DEBUG_OBJECT (pipeline, "Linking tracks");
GST_DEBUG_OBJECT (pipeline, "Linking %d tracks",
g_list_length (pipeline->priv->timeline->tracks));
if (!pipeline->priv->timeline) {
GST_INFO_OBJECT (pipeline, "Not timeline set yet, doing nothing");

View file

@ -2516,7 +2516,7 @@ ges_timeline_add_track (GESTimeline * timeline, GESTrack * track)
g_return_val_if_fail (GES_IS_TRACK (track), FALSE);
CHECK_THREAD (timeline);
GST_DEBUG ("timeline:%p, track:%p", timeline, track);
GST_DEBUG_OBJECT (timeline, "Adding %" GST_PTR_FORMAT, track);
/* make sure we don't already control it */
LOCK_DYN (timeline);

View file

@ -494,7 +494,7 @@ gst_frame_positioner_class_init (GstFramePositionerClass * klass)
GstBaseTransformClass *base_transform_class =
GST_BASE_TRANSFORM_CLASS (klass);
GST_DEBUG_CATEGORY_INIT (_framepositioner, "framepositioner",
GST_DEBUG_CATEGORY_INIT (_framepositioner, "gesframepositioner",
GST_DEBUG_FG_YELLOW, "ges frame positioner");
gst_element_class_add_static_pad_template (GST_ELEMENT_CLASS (klass),