ges: fix a couple of printf format warnings

This commit is contained in:
Tim-Philipp Müller 2011-01-31 19:00:49 +00:00
parent 94d448cace
commit 2a98347461
3 changed files with 5 additions and 4 deletions

View file

@ -302,7 +302,7 @@ create_object (GKeyFile * kf, gchar * group, GESTimelineLayer * layer)
goto fail_free_keys;
}
GST_DEBUG ("processing parameter list", group);
GST_DEBUG ("processing parameter list '%s'", group);
for (p = params, i = 1; i < n_keys; i++, p++) {
gchar *value;

View file

@ -250,7 +250,8 @@ gstl_recalculate (GESSimpleTimelineLayer * self)
start = pos;
if (end > start) {
GST_ERROR ("%d, %d: overlapping transitions!", start, end);
GST_ERROR ("%" G_GUINT64_FORMAT ", %" G_GUINT64_FORMAT ": "
"overlapping transitions!", start, end);
valid = FALSE;
}
}
@ -265,7 +266,7 @@ gstl_recalculate (GESSimpleTimelineLayer * self)
valid = FALSE;
}
GST_DEBUG ("Finished recalculating: final start pos is: " GST_TIME_FORMAT,
GST_DEBUG ("Finished recalculating: final start pos is: %" GST_TIME_FORMAT,
GST_TIME_ARGS (pos));
GES_TIMELINE_LAYER (self)->max_gnl_priority = priority;

View file

@ -234,7 +234,7 @@ ges_timeline_layer_add_object (GESTimelineLayer * layer,
tl_obj_layer = ges_timeline_object_get_layer (object);
if (G_UNLIKELY (tl_obj_layer)) {
GST_WARNING ("TimelineObject %p already belongs to another layer");
GST_WARNING ("TimelineObject %p already belongs to another layer", object);
g_object_unref (tl_obj_layer);
return FALSE;
}