Commit 566230ce authored by Nicolas Carion's avatar Nicolas Carion

Merge branch 'speed_up' into 'master'

renderwidget: Use max number of threads in render

Closes #139

See merge request kde/kdenlive!33
parents fae58c00 9e2748fb
Pipeline #2843 passed with stage
in 19 minutes and 11 seconds
......@@ -1456,9 +1456,7 @@ void RenderWidget::generateRenderFiles(QDomDocument doc, const QString &playlist
}
int threadCount = QThread::idealThreadCount();
if (threadCount > 2 && m_view.parallel_process->isChecked()) {
threadCount = qMin(threadCount - 1, 4);
} else {
if (threadCount < 2 || !m_view.parallel_process->isChecked()) {
threadCount = 1;
}
......
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