mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-27 12:11:13 +00:00
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:
parent
3e6dfe2955
commit
0f828628dd
10 changed files with 24 additions and 16 deletions
|
@ -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>
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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 ();
|
||||
}
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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 ();
|
||||
|
|
|
@ -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) {
|
||||
|
|
|
@ -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 ();
|
||||
|
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -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 ();
|
||||
}
|
||||
|
|
|
@ -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 ();
|
||||
|
|
Loading…
Reference in a new issue