offsets may be negative (nobody ever seeked beackwards, hu?)
authorBenjamin Otte <otte@gnome.org>
Mon, 28 Apr 2003 21:48:37 +0000 (21:48 +0000)
committerBenjamin Otte <otte@gnome.org>
Mon, 28 Apr 2003 21:48:37 +0000 (21:48 +0000)
Original commit message from CVS:
offsets may be negative (nobody ever seeked beackwards, hu?)

gst/elements/gstfilesrc.c
plugins/elements/gstfilesrc.c

index 12fb2bc..ac05970 100644 (file)
@@ -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;
index 12fb2bc..ac05970 100644 (file)
@@ -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;