Commit 397da608 authored by Julius Künzel's avatar Julius Künzel
Browse files

start up check: mlt's xml module is required

without the xml module kdenlive crashes
parent 78c74476
Pipeline #68215 passed with stage
in 8 minutes and 58 seconds
......@@ -486,9 +486,20 @@ void Wizard::checkMltComponents()
m_errors.append(i18n("<li>Missing MLT module: <b>sdl</b> or <b>rtaudio</b><br/>required for audio output</li>"));
m_systemCheckIsOk = false;
}
// AVformat module
Mlt::Consumer *consumer = nullptr;
Mlt::Profile p;
// XML module
if (consumersItemList.contains(QStringLiteral("xml"))) {
consumer = new Mlt::Consumer(p, "xml");
}
if (consumer == nullptr || !consumer->is_valid()) {
qDebug() << "Missing XML MLT module";
m_errors.append(i18n("<li>Missing MLT module: <b>xml</b> <br/>required for audio/video</li>"));
m_systemCheckIsOk = true;
}
// AVformat module
consumer = nullptr;
if (consumersItemList.contains(QStringLiteral("avformat"))) {
consumer = new Mlt::Consumer(p, "avformat");
}
......
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