core: Seek interval is right-open
authorJens Georg <mail@jensge.org>
Thu, 20 Oct 2011 16:44:34 +0000 (18:44 +0200)
committerJens Georg <mail@jensge.org>
Thu, 20 Oct 2011 16:45:22 +0000 (18:45 +0200)
https://bugzilla.gnome.org/show_bug.cgi?id=662125

src/rygel/rygel-http-response.vala

index bbecb61..21ebcbe 100644 (file)
@@ -292,7 +292,7 @@ internal class Rygel.HTTPResponse : GLib.Object, Rygel.StateMachine {
                                  Gst.SeekType.SET,
                                  this.seek.start,
                                  stop_type,
-                                 this.seek.stop)) {
+                                 this.seek.stop + 1)) {
             warning (_("Failed to seek to offset %lld"), this.seek.start);
 
             this.end (false, KnownStatusCode.REQUESTED_RANGE_NOT_SATISFIABLE);