[rygel] mpris: Set default playspeed



commit dc06c20cc7915c505181eab996818a5521555077
Author: Jens Georg <mail jensge org>
Date:   Fri Dec 13 17:44:45 2013 +0100

    mpris: Set default playspeed
    
    Prevents a critical for MPRIS peers that don't support querying
    playspeed.

 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 8fab6e6..93a602d 100644
--- a/src/plugins/mpris/rygel-mpris-player.vala
+++ b/src/plugins/mpris/rygel-mpris-player.vala
@@ -74,7 +74,7 @@ public class Rygel.MPRIS.Player : GLib.Object, Rygel.MediaPlayer {
         }
     }
 
-    private string _playback_speed;
+    private string _playback_speed = "1";
     public string playback_speed {
         owned get {
             return this._playback_speed;


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