Merge pull request #1060 from diced/fix-mpv-crash

Fix startup crash on MacOS when setting custom MPV configuration
This commit is contained in:
Andrew Rabert authored and GitHub committed 2025-12-17 21:14:47 -05:00
commit 755514d9e2
1 file changed
+2
+2
View File
@@ -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);