mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-02 12:32:29 +00:00
ges: fix a couple of printf format warnings
This commit is contained in:
parent
94d448cace
commit
2a98347461
3 changed files with 5 additions and 4 deletions
|
@ -302,7 +302,7 @@ create_object (GKeyFile * kf, gchar * group, GESTimelineLayer * layer)
|
||||||
goto fail_free_keys;
|
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++) {
|
for (p = params, i = 1; i < n_keys; i++, p++) {
|
||||||
gchar *value;
|
gchar *value;
|
||||||
|
|
|
@ -250,7 +250,8 @@ gstl_recalculate (GESSimpleTimelineLayer * self)
|
||||||
start = pos;
|
start = pos;
|
||||||
|
|
||||||
if (end > start) {
|
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;
|
valid = FALSE;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -265,7 +266,7 @@ gstl_recalculate (GESSimpleTimelineLayer * self)
|
||||||
valid = FALSE;
|
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));
|
GST_TIME_ARGS (pos));
|
||||||
|
|
||||||
GES_TIMELINE_LAYER (self)->max_gnl_priority = priority;
|
GES_TIMELINE_LAYER (self)->max_gnl_priority = priority;
|
||||||
|
|
|
@ -234,7 +234,7 @@ ges_timeline_layer_add_object (GESTimelineLayer * layer,
|
||||||
tl_obj_layer = ges_timeline_object_get_layer (object);
|
tl_obj_layer = ges_timeline_object_get_layer (object);
|
||||||
|
|
||||||
if (G_UNLIKELY (tl_obj_layer)) {
|
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);
|
g_object_unref (tl_obj_layer);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue