Index: gstgiobasesrc.c
===================================================================
RCS file: /cvs/gstreamer/gst-plugins-base/ext/gio/gstgiobasesrc.c,v
retrieving revision 1.6
diff -U5 -r1.6 gstgiobasesrc.c
--- gstgiobasesrc.c	17 Feb 2008 05:15:45 -0000	1.6
+++ gstgiobasesrc.c	17 Mar 2008 22:00:34 -0000
@@ -307,11 +307,12 @@
 
     ret = gst_gio_seek (src, G_SEEKABLE (src->stream), offset, src->cancel);
 
     if (ret == GST_FLOW_OK)
       src->position = offset;
-    return ret;
+    else
+      return ret;
   }
 
   buf = gst_buffer_new_and_alloc (size);
 
   GST_LOG_OBJECT (src, "reading %u bytes from offset %" G_GUINT64_FORMAT,
