[rygel] server: Fix time-seek on full-range seeks



commit ed2b6f251207fe8881592016abfecf40750f73b3
Author: Jens Georg <jensg openismus com>
Date:   Tue Jun 18 13:13:04 2013 +0200

    server: Fix time-seek on full-range seeks
    
    https://bugzilla.gnome.org/show_bug.cgi?id=702262

 src/librygel-server/rygel-http-time-seek.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/librygel-server/rygel-http-time-seek.vala b/src/librygel-server/rygel-http-time-seek.vala
index ac18982..675d4e1 100644
--- a/src/librygel-server/rygel-http-time-seek.vala
+++ b/src/librygel-server/rygel-http-time-seek.vala
@@ -85,7 +85,7 @@ internal class Rygel.HTTPTimeSeek : Rygel.HTTPSeek {
             }
         }
 
-        base (request.msg, start, stop, TimeSpan.MILLISECOND, duration);
+        base (request.msg, start, stop - 1, TimeSpan.MILLISECOND, duration);
         this.seek_type = HTTPSeekType.TIME;
     }
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]