From c558b01f5ba6dde19d20e437cf65dc632f6f8ef6 Mon Sep 17 00:00:00 2001 From: Edward Hervey Date: Fri, 11 Jun 2010 19:34:39 +0200 Subject: [PATCH] examples: Fix debug statement --- tests/examples/transition.c | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/tests/examples/transition.c b/tests/examples/transition.c index d6161e00ef..1eb47fe756 100644 --- a/tests/examples/transition.c +++ b/tests/examples/transition.c @@ -118,8 +118,9 @@ make_timeline (char *nick, double tdur, char *patha, float adur, g_timeout_add_seconds (1, (GSourceFunc) print_transition_data, srcb); if (tduration != 0) { - g_print ("creating transition at %ld of %f duration (%ld ns)\n", - tstart, tdur, tduration); + g_print ("creating transition at %" GST_TIME_FORMAT " of %f duration (%" + GST_TIME_FORMAT ")\n", GST_TIME_ARGS (tstart), tdur, + GST_TIME_ARGS (tduration)); if (!(tr = ges_timeline_transition_new_for_nick (nick))) g_error ("invalid transition type %s\n", nick);