Commit d56831ea authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Use relative path in .mlt files created by clip jobs

parent cdea8696
......@@ -176,6 +176,10 @@ void MeltJob::startJob()
m_consumer->set(j.key().toUtf8().constData(), j.value().toUtf8().constData());
}
}
if (consumerName.startsWith(QStringLiteral("xml:"))) {
// Use relative path in xml
m_consumer->set("root", QFileInfo(m_dest).absolutePath().toUtf8().constData());
}
// Build filter
if (!filterName.isEmpty()) {
......
Supports Markdown
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