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:36:28 +0200 |
commit | 0fc9d47feb38143712fec5f202256d93c512e650 (patch) | |
tree | cb25a315587b84cbd0b522c60a9c31a8553928fc /src | |
parent | 2e44039a26f2243b35da153df51dd945ddaf18ce (diff) | |
download | rygel-0fc9d47feb38143712fec5f202256d93c512e650.tar.gz |
server: Fix npt=start- seeking
Signed-off-by: Jens Georg <mail@jensge.org>
https://bugzilla.gnome.org/show_bug.cgi?id=748410
Diffstat (limited to 'src')
-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; } |