[rygel] gst-renderer: Correct playback logic



commit 423af509eef66cf99b5232c8f9a7178bc5c90944
Author: Zeeshan Ali (Khattak) <zeeshanak gnome org>
Date:   Mon Oct 12 23:46:21 2009 +0300

    gst-renderer: Correct playback logic
    
    I was pausing when asked to play and viceversa.

 .../gst-renderer/rygel-gst-video-window.vala       |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/plugins/gst-renderer/rygel-gst-video-window.vala b/src/plugins/gst-renderer/rygel-gst-video-window.vala
index 6900fc8..54c09f2 100644
--- a/src/plugins/gst-renderer/rygel-gst-video-window.vala
+++ b/src/plugins/gst-renderer/rygel-gst-video-window.vala
@@ -44,10 +44,10 @@ public class Rygel.GstVideoWindow : GLib.Object {
                     this.playbin.set_state (State.NULL);
                 break;
                 case "PAUSED_PLAYBACK":
-                    this.playbin.set_state (State.PLAYING);
+                    this.playbin.set_state (State.PAUSED);
                 break;
                 case "PLAYING":
-                    this.playbin.set_state (State.PAUSED);
+                    this.playbin.set_state (State.PLAYING);
                 break;
                 default:
                 break;



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