[rygel] server: Fix npt=start- seeking
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] server: Fix npt=start- seeking
- Date: Sat, 25 Apr 2015 06:38:14 +0000 (UTC)
commit 0fc9d47feb38143712fec5f202256d93c512e650
Author: Jens Georg <mail jensge org>
Date: Sat Apr 25 08:33:21 2015 +0200
server: Fix npt=start- seeking
Signed-off-by: Jens Georg <mail jensge org>
https://bugzilla.gnome.org/show_bug.cgi?id=748410
.../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 0633151..0b4f58d 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;
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]