From: Jens Georg Date: Thu, 20 Oct 2011 16:44:34 +0000 (+0200) Subject: core: Seek interval is right-open X-Git-Tag: RYGEL_0_13_0~41 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b9725af6e4d237b317f13702dda89635169563ae;p=profile%2Fivi%2Frygel.git core: Seek interval is right-open https://bugzilla.gnome.org/show_bug.cgi?id=662125 --- diff --git a/src/rygel/rygel-http-response.vala b/src/rygel/rygel-http-response.vala index bbecb61..21ebcbe 100644 --- a/src/rygel/rygel-http-response.vala +++ b/src/rygel/rygel-http-response.vala @@ -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);