mirror of
https://github.com/jellyfin/jellyfin-desktop.git
synced 2026-10-26 16:45:24 +00:00
Merge pull request #1060 from diced/fix-mpv-crash
Fix startup crash on MacOS when setting custom MPV configuration
This commit is contained in:
1 file changed
+2
@@ -1478,6 +1478,8 @@ void PlayerComponent::setVideoConfiguration()
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
void PlayerComponent::setOtherConfiguration()
|
||||
{
|
||||
if (!m_mpv) return;
|
||||
|
||||
QString otherConfiguration = SettingsComponent::Get().value(SETTINGS_SECTION_OTHER, "other_conf").toString();
|
||||
qDebug() << "Parsing other configuration: "+otherConfiguration;
|
||||
QStringList configurationList = otherConfiguration.split(QRegularExpression("[\r\n]"), Qt::SkipEmptyParts);
|
||||
|
||||
Reference in new issue
Block a user