From 395a514e6f1d24e022fc6f320a82b97dd99f29bc Mon Sep 17 00:00:00 2001 From: David Schleef Date: Tue, 26 Oct 2004 05:13:22 +0000 Subject: [PATCH] examples/: Original commit message from CVS: * examples/gstplay/player.c: (got_stream_length), (main): * examples/seeking/cdplayer.c: (update_scale): * examples/seeking/seek.c: (format_value), (update_scale): * examples/seeking/spider_seek.c: (format_value), (update_scale), (stop_seek): --- ChangeLog | 8 ++++++++ examples/gstplay/player.c | 2 +- examples/seeking/cdplayer.c | 4 ++-- examples/seeking/seek.c | 4 ++-- examples/seeking/spider_seek.c | 4 ++-- 5 files changed, 15 insertions(+), 7 deletions(-) diff --git a/ChangeLog b/ChangeLog index cbd01b7283..2dbe18a027 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,11 @@ +2004-10-25 David Schleef + + * examples/gstplay/player.c: (got_stream_length), (main): + * examples/seeking/cdplayer.c: (update_scale): + * examples/seeking/seek.c: (format_value), (update_scale): + * examples/seeking/spider_seek.c: (format_value), (update_scale), + (stop_seek): + 2004-10-25 Zaheer Abbas Merali reviewed by: Ronald Bultje diff --git a/examples/gstplay/player.c b/examples/gstplay/player.c index ca76978ecb..7a018fe0fa 100644 --- a/examples/gstplay/player.c +++ b/examples/gstplay/player.c @@ -66,7 +66,7 @@ got_time_tick (GstPlay * play, gint64 time_nanos) static void got_stream_length (GstPlay * play, gint64 length_nanos) { - g_print ("got length %llu\n", length_nanos); + g_print ("got length %" G_GUINT64_FORMAT "\n", length_nanos); length = length_nanos; } diff --git a/examples/seeking/cdplayer.c b/examples/seeking/cdplayer.c index 73ab9cf857..21fa302d3f 100644 --- a/examples/seeking/cdplayer.c +++ b/examples/seeking/cdplayer.c @@ -136,8 +136,8 @@ update_scale (gpointer data) if (stats) { if (clock) - g_print ("clock: %13llu (%s)\n", position, - gst_object_get_name (GST_OBJECT (clock))); + g_print ("clock: %13" G_GUINT64_FORMAT " (%s)\n", + position, gst_object_get_name (GST_OBJECT (clock))); query_durations (); query_positions (); } diff --git a/examples/seeking/seek.c b/examples/seeking/seek.c index 2d0216f0e8..c85ca8b02d 100644 --- a/examples/seeking/seek.c +++ b/examples/seeking/seek.c @@ -786,8 +786,8 @@ update_scale (gpointer data) if (stats) { if (clock) { - g_print ("clock: %13llu (%s)\n", position, - gst_object_get_name (GST_OBJECT (clock))); + g_print ("clock: %13" G_GUINT64_FORMAT " (%s)\n", + position, gst_object_get_name (GST_OBJECT (clock))); } if (elem_seek) { diff --git a/examples/seeking/spider_seek.c b/examples/seeking/spider_seek.c index ec90b3955c..54c108974c 100644 --- a/examples/seeking/spider_seek.c +++ b/examples/seeking/spider_seek.c @@ -208,8 +208,8 @@ update_scale (gpointer data) position = gst_clock_get_time (clock); if (stats) { - g_print ("clock: %13llu (%s)\n", position, - gst_object_get_name (GST_OBJECT (clock))); + g_print ("clock: %13" G_GUINT64_FORMAT " (%s)\n", + position, gst_object_get_name (GST_OBJECT (clock))); query_durations (); query_positions (); query_rates ();