From 7524c49140afe846800ba4f4b616f2ae4ceda92f Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Mon, 28 Apr 2003 21:48:37 +0000 Subject: [PATCH] offsets may be negative (nobody ever seeked beackwards, hu?) Original commit message from CVS: offsets may be negative (nobody ever seeked beackwards, hu?) --- gst/elements/gstfilesrc.c | 2 +- plugins/elements/gstfilesrc.c | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gst/elements/gstfilesrc.c b/gst/elements/gstfilesrc.c index 12fb2bc..ac05970 100644 --- a/gst/elements/gstfilesrc.c +++ b/gst/elements/gstfilesrc.c @@ -779,7 +779,7 @@ gst_filesrc_srcpad_event (GstPad *pad, GstEvent *event) switch (GST_EVENT_TYPE (event)) { case GST_EVENT_SEEK: { - guint64 offset; + gint64 offset; if (GST_EVENT_SEEK_FORMAT (event) != GST_FORMAT_BYTES) { goto error; diff --git a/plugins/elements/gstfilesrc.c b/plugins/elements/gstfilesrc.c index 12fb2bc..ac05970 100644 --- a/plugins/elements/gstfilesrc.c +++ b/plugins/elements/gstfilesrc.c @@ -779,7 +779,7 @@ gst_filesrc_srcpad_event (GstPad *pad, GstEvent *event) switch (GST_EVENT_TYPE (event)) { case GST_EVENT_SEEK: { - guint64 offset; + gint64 offset; if (GST_EVENT_SEEK_FORMAT (event) != GST_FORMAT_BYTES) { goto error; -- 2.7.4