summaryrefslogtreecommitdiffstats
path: root/examples/seeking/cdplayer.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/seeking/cdplayer.c')
-rw-r--r--examples/seeking/cdplayer.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/seeking/cdplayer.c b/examples/seeking/cdplayer.c
index 5532e68c..dfbf1143 100644
--- a/examples/seeking/cdplayer.c
+++ b/examples/seeking/cdplayer.c
@@ -9,7 +9,7 @@ static GList *seekable_elements = NULL;
static GstElement *pipeline;
static GtkAdjustment *adjustment;
static gboolean stats = FALSE;
-static guint64 duration;
+static gint64 duration;
static guint update_id;
@@ -121,7 +121,7 @@ static gboolean
update_scale (gpointer data)
{
GstClock *clock;
- guint64 position = 0;
+ gint64 position = 0;
GstFormat format = GST_FORMAT_TIME;
duration = 0;