[rygel] mpris: Seek is always relative
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] mpris: Seek is always relative
- Date: Mon, 7 Oct 2013 14:58:43 +0000 (UTC)
commit a83d1837d03b8aa9c82b29dedd6433b9878ba32d
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]