Commit aa298b79 authored by Julius Künzel's avatar Julius Künzel 💬
Browse files

[kdenlive_render] Remove workaround for MLT bug that is fixed since long

parent 1f67f8cd
......@@ -196,21 +196,14 @@ int main(int argc, char **argv)
QString subtitleFile = parser.value(subtitleOption);
// older MLT version, does not support embedded consumer in/out in xml, and current
// MLT (6.16) does not pass it onto the multi / movit consumer, so read it manually and enforce
QFile f(playlist);
/*QFile f(playlist);
QDomDocument doc;
doc.setContent(&f, false);
QDomElement consumer = doc.documentElement().firstChildElement(QStringLiteral("consumer"));
if (!consumer.isNull()) {
if (consumer.hasAttribute(QLatin1String("s")) || consumer.hasAttribute(QLatin1String("r"))) {
// Workaround MLT embedded consumer resize (MLT issue #453)
int in = -1;
auto *rJob = new RenderJob(render, playlist, target, pid, in, out, subtitleFile, &app);
QObject::connect(rJob, &RenderJob::renderingFinished, rJob, [&]() {
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