[rygel/rygel-0-20] mpris: Seek is always relative



commit 292f13775f73b133622a0102efc2b37f6d1ae102
Author: Jens Georg <jensg openismus com>
Date:   Mon Oct 7 16:57:56 2013 +0200

    mpris: Seek is always relative

 src/plugins/mpris/rygel-mpris-player.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/plugins/mpris/rygel-mpris-player.vala b/src/plugins/mpris/rygel-mpris-player.vala
index 39c5b07..e548c45 100644
--- a/src/plugins/mpris/rygel-mpris-player.vala
+++ b/src/plugins/mpris/rygel-mpris-player.vala
@@ -163,7 +163,7 @@ public class Rygel.MPRIS.Player : GLib.Object, Rygel.MediaPlayer {
         var ret = false;
 
         try {
-            this.actual_player.seek (time);
+            this.actual_player.seek (time - this.position);
             ret = true;
         } catch (Error error) {}
 


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