summaryrefslogtreecommitdiffstats
path: root/examples/seeking/playbin.c
diff options
context:
space:
mode:
Diffstat (limited to 'examples/seeking/playbin.c')
-rw-r--r--examples/seeking/playbin.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/seeking/playbin.c b/examples/seeking/playbin.c
index b213c5fc..da02a508 100644
--- a/examples/seeking/playbin.c
+++ b/examples/seeking/playbin.c
@@ -6,7 +6,7 @@
static GstElement *playbin = NULL;
static GstElement *pipeline;
-static guint64 duration;
+static gint64 duration;
static GtkAdjustment *adjustment;
static GtkWidget *hscale;
static gboolean verbose = FALSE;
@@ -45,7 +45,7 @@ static gboolean
update_scale (gpointer data)
{
GstClock *clock;
- guint64 position;
+ gint64 position;
GstFormat format = GST_FORMAT_TIME;
gboolean res;