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 3e6dfe2955
commit 0f828628dd
10 changed files with 24 additions and 16 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>
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
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;
}

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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

View file

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