mirror of
https://github.com/clementine-player/Clementine
synced 2025-02-02 20:36:44 +01:00
Merge pull request #6310 from jbroadus/fix-unhandled-error-condition
Fix potential use of streamer element after deletion.
This commit is contained in:
commit
7885c61a39
@ -1004,7 +1004,10 @@ void GstEnginePipeline::TransitionToNext() {
|
||||
|
||||
ignore_tags_ = true;
|
||||
|
||||
ReplaceDecodeBin(next_url_);
|
||||
if (!ReplaceDecodeBin(next_url_)) {
|
||||
qLog(Error) << "ReplaceDecodeBin failed with " << next_url_;
|
||||
return;
|
||||
}
|
||||
gst_element_set_state(uridecodebin_, GST_STATE_PLAYING);
|
||||
MaybeLinkDecodeToAudio();
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user