From fdb06182fa7547ce522e688ea029c621b09778d6 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A0=D1=83=D1=81=D0=BB=D0=B0=D0=BD=20=D0=98=D0=B6=D0=B1?= =?UTF-8?q?=D1=83=D0=BB=D0=B0=D1=82=D0=BE=D0=B2?= Date: Tue, 17 Apr 2012 19:18:21 +0400 Subject: [PATCH] ges: fix some format strings in debug messages https://bugzilla.gnome.org/show_bug.cgi?id=674265 --- ges/ges-simple-timeline-layer.c | 5 +++-- ges/ges-timeline-object.c | 2 +- ges/ges-track-title-source.c | 2 +- 3 files changed, 5 insertions(+), 4 deletions(-) diff --git a/ges/ges-simple-timeline-layer.c b/ges/ges-simple-timeline-layer.c index 884c6b5345..8b0cf73681 100644 --- a/ges/ges-simple-timeline-layer.c +++ b/ges/ges-simple-timeline-layer.c @@ -211,8 +211,9 @@ gstl_recalculate (GESSimpleTimelineLayer * self) if (pos < 0) pos = 0; - GST_LOG ("%p obj: height: %d: trans_priority %d Position: %d, " - "duration %d", obj, height, transition_priority, pos); + GST_LOG ("%p obj: height: %d: trans_priority %d Position: %" G_GINT64_FORMAT + ", duration %" G_GINT64_FORMAT, obj, height, transition_priority, pos, + dur); g_assert (transition_priority != -1); diff --git a/ges/ges-timeline-object.c b/ges/ges-timeline-object.c index e3639940f3..7eead562b6 100644 --- a/ges/ges-timeline-object.c +++ b/ges/ges-timeline-object.c @@ -1316,7 +1316,7 @@ ges_timeline_object_set_top_effect_priority (GESTimelineObject * object, } if (current_prio > object->priv->nb_effects) { - GST_DEBUG ("%p is not a top effect"); + GST_DEBUG ("%p is not a top effect", effect); return FALSE; } diff --git a/ges/ges-track-title-source.c b/ges/ges-track-title-source.c index d26bc83aa0..869a41e913 100644 --- a/ges/ges-track-title-source.c +++ b/ges/ges-track-title-source.c @@ -313,7 +313,7 @@ ges_track_title_source_set_xpos (GESTrackTitleSource * self, gdouble position) void ges_track_title_source_set_ypos (GESTrackTitleSource * self, gdouble position) { - GST_DEBUG ("self:%p, ypos:%d", self, position); + GST_DEBUG ("self:%p, ypos:%f", self, position); self->priv->ypos = position; if (self->priv->text_el)