Commit 77adf710 authored by Julius Künzel's avatar Julius Künzel
Browse files

Try to find mediainfo on windows automatically too

parent 419e1b2f
......@@ -733,6 +733,11 @@ void Wizard::slotCheckPrograms(QString &infos, QString &warnings)
if (KdenliveSettings::mediainfopath().isEmpty() || !QFileInfo::exists(KdenliveSettings::mediainfopath())) {
program = QStandardPaths::findExecutable(QStringLiteral("mediainfo"));
#ifdef Q_OS_WIN
if (program.isEmpty()) {
program = QStandardPaths::findExecutable(QStringLiteral("mediainfo"), {"C:/Program Files/MediaInfo", "C:/Program Files (x86)/MediaInfo"});
}
#endif
if (program.isEmpty()) {
infos.append(i18n("<li>Missing app: <b>mediainfo</b><br/>optional for technical clip information</li>"));
} else {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment