[rygel] renderer: Treat ABS_TIME/REL_TIME the same



commit fbf259c9bdd5a239aa3d16d1670c8b920b6a627b
Author: Jens Georg <mail jensge org>
Date:   Sat Dec 21 11:18:10 2013 +0100

    renderer: Treat ABS_TIME/REL_TIME the same
    
    Looks like the original fix wasn't correct, see
    
    https://bugzilla.gnome.org/show_bug.cgi?id=686628#c3
    
    Signed-off-by: Jens Georg <mail jensge org>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=712181

 src/librygel-renderer/rygel-av-transport.vala |    3 ---
 1 files changed, 0 insertions(+), 3 deletions(-)
---
diff --git a/src/librygel-renderer/rygel-av-transport.vala b/src/librygel-renderer/rygel-av-transport.vala
index e9fed90..f484c94 100644
--- a/src/librygel-renderer/rygel-av-transport.vala
+++ b/src/librygel-renderer/rygel-av-transport.vala
@@ -525,9 +525,6 @@ internal class Rygel.AVTransport : Service {
         case "ABS_TIME":
         case "REL_TIME":
             var seek_target = TimeUtils.time_from_string (target);
-            if (unit != "ABS_TIME") {
-                seek_target += this.player.position;
-            }
             debug ("Seeking to %lld sec", seek_target / TimeSpan.SECOND);
 
             if (!this.player.can_seek) {


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