diff options
author | Jens Georg <mail@jensge.org> | 2015-04-25 08:33:21 +0200 |
---|---|---|
committer | Jens Georg <mail@jensge.org> | 2015-04-25 08:38:38 +0200 |
commit | 661454559af7485ef5363b1fba2916b18e6b7ff4 (patch) | |
tree | 8ee32458ef93f276db166ba7b6f57b3b0f66a689 | |
parent | 2793a7ef2d650aab75dbf7bbf13fc0e81769f1bf (diff) | |
download | rygel-661454559af7485ef5363b1fba2916b18e6b7ff4.tar.gz |
server: Fix npt=start- seeking
Signed-off-by: Jens Georg <mail@jensge.org>
https://bugzilla.gnome.org/show_bug.cgi?id=748410
-rw-r--r-- | src/librygel-server/rygel-http-time-seek-request.vala | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/librygel-server/rygel-http-time-seek-request.vala b/src/librygel-server/rygel-http-time-seek-request.vala index 0633151c..0b4f58d3 100644 --- a/src/librygel-server/rygel-http-time-seek-request.vala +++ b/src/librygel-server/rygel-http-time-seek-request.vala @@ -178,8 +178,10 @@ public class Rygel.HTTPTimeSeekRequest : Rygel.HTTPSeekRequest { this.range_duration = UNSPECIFIED; } else { if (positive_rate) { + this.end_time = this.total_duration - TimeSpan.MILLISECOND; this.range_duration = this.total_duration - this.start_time; } else { + this.end_time = 0; // Going backward from start to 0 this.range_duration = this.start_time; } |