Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@onestream.live>2021-12-30 17:57:28 +0300
committerGuillaume Desmottes <guillaume.desmottes@onestream.live>2022-01-03 02:02:39 +0300
commit53cef60f2c9d52bf4148bc4fa7d679449bedc81b (patch)
tree910f1a75b415e4298621fa4d8754e8434490291c /audio/spotify/src
parentfaee72bf5b7b78c4220ea6b4a8ca94631eb1fe4b (diff)
spotifyaudiosrc: log error if setup() failed
Diffstat (limited to 'audio/spotify/src')
-rw-r--r--audio/spotify/src/spotifyaudiosrc/imp.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/spotify/src/spotifyaudiosrc/imp.rs b/audio/spotify/src/spotifyaudiosrc/imp.rs
index ea0d2ea6..1d55f936 100644
--- a/audio/spotify/src/spotifyaudiosrc/imp.rs
+++ b/audio/spotify/src/spotifyaudiosrc/imp.rs
@@ -250,6 +250,7 @@ impl BaseSrcImpl for SpotifyAudioSrc {
if let Err(err) = RUNTIME.block_on(async move { self.setup().await }) {
let details = format!("{:?}", err);
+ gst_error!(CAT, obj: src, "failed to start: {}", details);
gst::element_error!(src, gst::ResourceError::Settings, [&details]);
return Err(gst::error_msg!(gst::ResourceError::Settings, [&details]));
}