[rygel] renderer: Add comment about live sources
- From: Jens Georg <jensgeorg src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [rygel] renderer: Add comment about live sources
- Date: Tue, 13 Nov 2012 15:19:26 +0000 (UTC)
commit b85e72754d1b7620ecb9c0788f45fe2f5c2510c7
Author: Jens Georg <jensg openismus com>
Date: Tue Nov 13 16:18:58 2012 +0100
renderer: Add comment about live sources
.../rygel-playbin-player.vala | 6 ++++++
1 files changed, 6 insertions(+), 0 deletions(-)
---
diff --git a/src/librygel-renderer-gst/rygel-playbin-player.vala b/src/librygel-renderer-gst/rygel-playbin-player.vala
index a411c6b..1f49de6 100644
--- a/src/librygel-renderer-gst/rygel-playbin-player.vala
+++ b/src/librygel-renderer-gst/rygel-playbin-player.vala
@@ -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;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]