diff options
author | Guillaume Desmottes <guillaume.desmottes@onestream.live> | 2021-12-30 17:57:28 +0300 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@onestream.live> | 2022-01-03 02:02:39 +0300 |
commit | 53cef60f2c9d52bf4148bc4fa7d679449bedc81b (patch) | |
tree | 910f1a75b415e4298621fa4d8754e8434490291c /audio | |
parent | faee72bf5b7b78c4220ea6b4a8ca94631eb1fe4b (diff) |
spotifyaudiosrc: log error if setup() failed
Diffstat (limited to 'audio')
-rw-r--r-- | audio/spotify/src/spotifyaudiosrc/imp.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/audio/spotify/src/spotifyaudiosrc/imp.rs b/audio/spotify/src/spotifyaudiosrc/imp.rs index ea0d2ea68..1d55f9362 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])); } |