summaryrefslogtreecommitdiffstats
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rw-r--r--examples/seeking/cdplayer.c4
-rw-r--r--examples/seeking/playbin.c4
-rw-r--r--examples/seeking/seek.c4
-rw-r--r--examples/seeking/spider_seek.c4
4 files changed, 8 insertions, 8 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;
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;
diff --git a/examples/seeking/seek.c b/examples/seeking/seek.c
index d4a269fb..7a1ce9b4 100644
--- a/examples/seeking/seek.c
+++ b/examples/seeking/seek.c
@@ -12,7 +12,7 @@ static GList *rate_pads = NULL;
static GList *seekable_elements = NULL;
static GstElement *pipeline;
-static guint64 duration;
+static gint64 duration;
static GtkAdjustment *adjustment;
static GtkWidget *hscale;
static gboolean stats = FALSE;
@@ -786,7 +786,7 @@ static gboolean
update_scale (gpointer data)
{
GstClock *clock;
- guint64 position;
+ gint64 position;
GstFormat format = GST_FORMAT_TIME;
gboolean res;
diff --git a/examples/seeking/spider_seek.c b/examples/seeking/spider_seek.c
index c19b5de6..edd78f97 100644
--- a/examples/seeking/spider_seek.c
+++ b/examples/seeking/spider_seek.c
@@ -13,7 +13,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;
@@ -197,7 +197,7 @@ static gboolean
update_scale (gpointer data)
{
GstClock *clock;
- guint64 position;
+ gint64 position;
GstFormat format = GST_FORMAT_TIME;
duration = 0;