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):
This commit is contained in:
David Schleef 2004-10-26 05:13:22 +00:00
parent 4ae4808bce
commit 16f55dffbe
5 changed files with 15 additions and 7 deletions

View file

@ -1,3 +1,11 @@
2004-10-25 David Schleef <ds@schleef.org>
* 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 <zaheerabbas at merali dot org> 2004-10-25 Zaheer Abbas Merali <zaheerabbas at merali dot org>
reviewed by: Ronald Bultje <rbultje at gnome dot org> reviewed by: Ronald Bultje <rbultje at gnome dot org>

View file

@ -66,7 +66,7 @@ got_time_tick (GstPlay * play, gint64 time_nanos)
static void static void
got_stream_length (GstPlay * play, gint64 length_nanos) 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; length = length_nanos;
} }

View file

@ -136,8 +136,8 @@ update_scale (gpointer data)
if (stats) { if (stats) {
if (clock) if (clock)
g_print ("clock: %13llu (%s)\n", position, g_print ("clock: %13" G_GUINT64_FORMAT " (%s)\n",
gst_object_get_name (GST_OBJECT (clock))); position, gst_object_get_name (GST_OBJECT (clock)));
query_durations (); query_durations ();
query_positions (); query_positions ();
} }

View file

@ -786,8 +786,8 @@ update_scale (gpointer data)
if (stats) { if (stats) {
if (clock) { if (clock) {
g_print ("clock: %13llu (%s)\n", position, g_print ("clock: %13" G_GUINT64_FORMAT " (%s)\n",
gst_object_get_name (GST_OBJECT (clock))); position, gst_object_get_name (GST_OBJECT (clock)));
} }
if (elem_seek) { if (elem_seek) {

View file

@ -208,8 +208,8 @@ update_scale (gpointer data)
position = gst_clock_get_time (clock); position = gst_clock_get_time (clock);
if (stats) { if (stats) {
g_print ("clock: %13llu (%s)\n", position, g_print ("clock: %13" G_GUINT64_FORMAT " (%s)\n",
gst_object_get_name (GST_OBJECT (clock))); position, gst_object_get_name (GST_OBJECT (clock)));
query_durations (); query_durations ();
query_positions (); query_positions ();
query_rates (); query_rates ();