Commit 4f774201 authored by patrick pereira's avatar patrick pereira 🏃 Committed by Nicolas Carion

renderwidget: Use max number of threads in render

Fixing the number up to 4 limits the render speed in computers with 16/32 threads

Fix #139
Signed-off-by: patrick pereira's avatarPatrick José Pereira <patrickelectric@gmail.com>
parent 8580bf21
......@@ -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