ges: fix some format strings in debug messages

https://bugzilla.gnome.org/show_bug.cgi?id=674265
This commit is contained in:
Руслан Ижбулатов 2012-04-17 19:18:21 +04:00 committed by Tim-Philipp Müller
parent 6ab94bc79b
commit fdb06182fa
3 changed files with 5 additions and 4 deletions

View file

@ -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);

View file

@ -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;
}

View file

@ -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)