[rygel] core: Correct default TimeSeek.stop calculation
- From: Zeeshan Ali Khattak <zeeshanak src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] core: Correct default TimeSeek.stop calculation
- Date: Tue, 11 May 2010 12:41:33 +0000 (UTC)
commit 17f69c8fccbc6d2dddd07a05b30b65706d2a95f5
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date: Tue May 11 15:31:55 2010 +0300
core: Correct default TimeSeek.stop calculation
Correct calculation of default value of TimeSeek.stop.
src/rygel/rygel-http-time-seek.vala | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/rygel/rygel-http-time-seek.vala b/src/rygel/rygel-http-time-seek.vala
index 4710357..4e4fce7 100644
--- a/src/rygel/rygel-http-time-seek.vala
+++ b/src/rygel/rygel-http-time-seek.vala
@@ -36,7 +36,7 @@ internal class Rygel.HTTPTimeSeek : Rygel.HTTPSeek {
string[] range_tokens;
int64 start = 0;
int64 duration = request.item.duration * SECOND;
- int64 stop = duration - 10 * MSECOND;
+ int64 stop = duration - SECOND;
range = request.msg.request_headers.get ("TimeSeekRange.dlna.org");
if (range != null) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]