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

Don't reset locale for external call of melt renderer (fixes white image rendering)

parent 9db68961
Pipeline #64281 passed with stage
in 8 minutes and 17 seconds
......@@ -131,7 +131,6 @@ int main(int argc, char **argv)
return 0;
}
// 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);
......@@ -146,7 +145,6 @@ int main(int argc, char **argv)
playlist.append(QStringLiteral("?multi=1"));
}
}
LocaleHandling::resetAllLocale();
auto *rJob = new RenderJob(render, playlist, target, pid, in, out, qApp);
rJob->start();
QObject::connect(rJob, &RenderJob::renderingFinished, rJob, [&, rJob]() {
......
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