[rygel] Revert "core: Do not treat 'npt=0-' as seek request"
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] Revert "core: Do not treat 'npt=0-' as seek request"
- Date: Mon, 19 Mar 2012 19:18:32 +0000 (UTC)
commit cf3a09ab14ddb85e05ad3d7e15ae0abb02e447ae
Author: Jens Georg <mail jensge org>
Date: Mon Mar 19 20:13:17 2012 +0100
Revert "core: Do not treat 'npt=0-' as seek request"
This reverts commit 15d7783f850a28a221bca49eac118d6744c8d9b6.
src/rygel/rygel-http-time-seek.vala | 10 ++--------
1 files changed, 2 insertions(+), 8 deletions(-)
---
diff --git a/src/rygel/rygel-http-time-seek.vala b/src/rygel/rygel-http-time-seek.vala
index 2178152..8597977 100644
--- a/src/rygel/rygel-http-time-seek.vala
+++ b/src/rygel/rygel-http-time-seek.vala
@@ -98,14 +98,8 @@ internal class Rygel.HTTPTimeSeek : Rygel.HTTPSeek {
}
public static bool requested (HTTPGet request) {
- var seek_request = request.msg.request_headers.get_one
- ("TimeSeekRange.dlna.org");
-
- if (seek_request != null) {
- return seek_request != "npt=0-";
- }
-
- return false;
+ return request.msg.request_headers.get_one ("TimeSeekRange.dlna.org") !=
+ null;
}
public override void add_response_headers () {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]