renderer: Add comment about live sources
authorJens Georg <jensg@openismus.com>
Tue, 13 Nov 2012 15:18:58 +0000 (16:18 +0100)
committerJens Georg <jensg@openismus.com>
Tue, 13 Nov 2012 15:18:58 +0000 (16:18 +0100)
src/librygel-renderer-gst/rygel-playbin-player.vala

index a411c6b..1f49de6 100644 (file)
@@ -122,6 +122,9 @@ public class Rygel.Playbin.Player : GLib.Object, Rygel.MediaPlayer {
                     if (state != State.PLAYING ||
                         pending != State.VOID_PENDING) {
                         this._playback_state = "TRANSITIONING";
+                        // This needs a check if GStreamer and DLNA agree on
+                        // the "liveness" of the source (s0/sn increase in
+                        // protocol info)
                         this.is_live = this.playbin.set_state (State.PLAYING)
                                         == StateChangeReturn.NO_PREROLL;
                     } else {
@@ -160,6 +163,9 @@ public class Rygel.Playbin.Player : GLib.Object, Rygel.MediaPlayer {
                                         == StateChangeReturn.NO_PREROLL;
                         break;
                     case "PLAYING":
+                        // This needs a check if GStreamer and DLNA agree on
+                        // the "liveness" of the source (s0/sn increase in
+                        // protocol info)
                         this.is_live = this.playbin.set_state (State.PLAYING)
                                         == StateChangeReturn.NO_PREROLL;
                         break;