diff options
Diffstat (limited to 'audio/spotify/src')
-rw-r--r-- | audio/spotify/src/spotifyaudiosrc/imp.rs | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/audio/spotify/src/spotifyaudiosrc/imp.rs b/audio/spotify/src/spotifyaudiosrc/imp.rs index 9c102cec..c168fc3d 100644 --- a/audio/spotify/src/spotifyaudiosrc/imp.rs +++ b/audio/spotify/src/spotifyaudiosrc/imp.rs @@ -442,7 +442,7 @@ impl URIHandlerImpl for SpotifyAudioSrc { for (key, value) in url.query_pairs() { match key.as_ref() { "username" | "password" | "cache-credentials" | "cache-files" => { - self.instance().set_property(&key, value.as_ref()); + self.obj().set_property(&key, value.as_ref()); } _ => { gst::warning!(CAT, imp: self, "unsupported query: {}={}", key, value); @@ -450,7 +450,7 @@ impl URIHandlerImpl for SpotifyAudioSrc { } } - self.instance() + self.obj() .set_property("track", format!("{}:{}", url.scheme(), url.path())); Ok(()) |