From 2826482d3e1e1002901901db68f4f1b4d21c608f Mon Sep 17 00:00:00 2001 From: "Zeeshan Ali (Khattak)" Date: Thu, 9 Dec 2010 23:13:40 +0200 Subject: [PATCH] core: Don't trust player to set URI immediately This is problematic in case of playbin plugin where the underlying playbin2 element doesn't set URI immediately so when we read the 'uri' property immediately after writing to it, we get an empty string. --- src/rygel/rygel-av-transport.vala | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/rygel/rygel-av-transport.vala b/src/rygel/rygel-av-transport.vala index 4af2adf..290befe 100644 --- a/src/rygel/rygel-av-transport.vala +++ b/src/rygel/rygel-av-transport.vala @@ -87,8 +87,8 @@ internal class Rygel.AVTransport : Service { set { this.player.uri = value; - this.changelog.log ("CurrentTrackURI", this.uri); - this.changelog.log ("AVTransportURI", this.uri); + this.changelog.log ("CurrentTrackURI", value); + this.changelog.log ("AVTransportURI", value); } } -- 2.7.4