projects
/
profile
/
ivi
/
rygel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d202ca2
)
playbin: Save URI ourselves
author
Jens Georg
<mail@jensge.org>
Wed, 23 May 2012 14:28:33 +0000
(16:28 +0200)
committer
Jens Georg
<mail@jensge.org>
Tue, 3 Jul 2012 07:53:48 +0000
(09:53 +0200)
Getting the current URI from the playbin only seems to work if its state is
not NULL.
src/plugins/playbin/rygel-playbin-player.vala
patch
|
blob
|
history
diff --git
a/src/plugins/playbin/rygel-playbin-player.vala
b/src/plugins/playbin/rygel-playbin-player.vala
index
6b160c9
..
60919af
100644
(file)
--- a/
src/plugins/playbin/rygel-playbin-player.vala
+++ b/
src/plugins/playbin/rygel-playbin-player.vala
@@
-120,12
+120,14
@@
public class Rygel.Playbin.Player : GLib.Object, Rygel.MediaPlayer {
private string transfer_mode = null;
+ private string? _uri = null;
public string? uri {
owned get {
- return
this.playbin.
uri;
+ return
_
uri;
}
set {
+ this._uri = value;
this.playbin.set_state (State.READY);
this.playbin.uri = value;
if (value != "") {