From cf3a09ab14ddb85e05ad3d7e15ae0abb02e447ae Mon Sep 17 00:00:00 2001 From: Jens Georg Date: Mon, 19 Mar 2012 20:13:17 +0100 Subject: [PATCH] Revert "core: Do not treat 'npt=0-' as seek request" This reverts commit 15d7783f850a28a221bca49eac118d6744c8d9b6. --- src/rygel/rygel-http-time-seek.vala | 10 ++-------- 1 file 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 () { -- 2.7.4