mirror of
https://github.com/strawberrymusicplayer/strawberry
synced 2024-12-16 18:51:09 +01:00
Moodbar: Use gst_element_link_many
This commit is contained in:
parent
1d3540dca6
commit
abf19e7a27
@ -87,7 +87,7 @@ void MoodbarPipeline::Start() {
|
||||
}
|
||||
|
||||
// Join them together
|
||||
if (!gst_element_link(convert_element_, spectrum) || !gst_element_link(spectrum, fakesink)) {
|
||||
if (!gst_element_link_many(convert_element_, spectrum, fakesink, nullptr)) {
|
||||
qLog(Error) << "Failed to link elements";
|
||||
gst_object_unref(GST_OBJECT(pipeline_));
|
||||
pipeline_ = nullptr;
|
||||
|
Loading…
Reference in New Issue
Block a user