diff options
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; } |