[rygel/rygel-0-22] renderer-gst: Stop() and Pause() never transition



commit a60c51992f11e464bc4f80c93ecdb0df620e88f6
Author: Jens Georg <mail jensge org>
Date:   Sat Jun 28 12:02:06 2014 +0200

    renderer-gst: Stop() and Pause() never transition
    
    Cf. Figure 1, AVTransport:2 DCP
    
    Signed-off-by: Jens Georg <mail jensge org>

 .../rygel-playbin-player.vala                      |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/librygel-renderer-gst/rygel-playbin-player.vala 
b/src/librygel-renderer-gst/rygel-playbin-player.vala
index e876b5f..eb58560 100644
--- a/src/librygel-renderer-gst/rygel-playbin-player.vala
+++ b/src/librygel-renderer-gst/rygel-playbin-player.vala
@@ -104,7 +104,6 @@ public class Rygel.Playbin.Player : GLib.Object, Rygel.MediaPlayer {
             switch (value) {
                 case "STOPPED":
                     if (state != State.NULL || pending != State.VOID_PENDING) {
-                        this._playback_state = "TRANSITIONING";
                         this.playbin.set_state (State.NULL);
                     } else {
                         this._playback_state = value;
@@ -112,7 +111,6 @@ public class Rygel.Playbin.Player : GLib.Object, Rygel.MediaPlayer {
                 break;
                 case "PAUSED_PLAYBACK":
                     if (state != State.PAUSED || pending != State.VOID_PENDING) {
-                        this._playback_state = "TRANSITIONING";
                         this.playbin.set_state (State.PAUSED);
                     } else {
                         this._playback_state = value;


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