Fixes to xine engine

This commit is contained in:
Jonas Kvinge
2018-06-28 23:12:39 +02:00
parent 505c1feb42
commit fc66e2e2c7
7 changed files with 108 additions and 116 deletions

View File

@@ -201,7 +201,8 @@ bool XineEngine::Load(const QUrl &url, Engine::TrackChangeFlags change, bool for
xine_close(stream_);
int result = xine_open(stream_, url.path().toUtf8());
//int result = xine_open(stream_, url.path().toUtf8());
int result = xine_open(stream_, url.toString().toUtf8());
if (result) {
#ifndef XINE_SAFE_MODE
@@ -370,7 +371,7 @@ EngineBase::OutputDetailsList XineEngine::GetOutputsList() const {
}
bool XineEngine::CustomDeviceSupport(const QString &name) {
return (name == DefaultOutput() ? false : true);
return (name == "alsa" || name == "oss" || name == "jack" || name == "pulseaudio");
}
void XineEngine::ReloadSettings() {