[rygel/rygel-0-12] core: Seek interval is right-open
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel/rygel-0-12] core: Seek interval is right-open
- Date: Sat, 22 Oct 2011 05:37:33 +0000 (UTC)
commit f7b256a967f6cdbe1ffd7bd698bb30d2c2835ac6
Author: Jens Georg <mail jensge org>
Date: Thu Oct 20 18:44:34 2011 +0200
core: Seek interval is right-open
https://bugzilla.gnome.org/show_bug.cgi?id=662125
src/rygel/rygel-http-response.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]