Fix somafm playback on linux. Might merge this with the mac ifdef if possible?
This commit is contained in:
parent
95bfcd86a9
commit
00b19ae83e
@ -67,7 +67,11 @@ bool GstEnginePipeline::Init(const QUrl &url) {
|
||||
src_ = GstEngine::CreateElement("giosrc");
|
||||
}
|
||||
#else
|
||||
src_ = GstEngine::CreateElement("giosrc");
|
||||
if (url.scheme() == "http") {
|
||||
src_ = GstEngine::CreateElement("souphttpsrc");
|
||||
} else {
|
||||
src_ = GstEngine::CreateElement("giosrc");
|
||||
}
|
||||
#endif
|
||||
if (!src_)
|
||||
return false;
|
||||
|
Loading…
x
Reference in New Issue
Block a user