Commit 39e74948 authored by Ludovic Fauvet's avatar Ludovic Fauvet

Fix a length calculation bug

parent 18ea3b1f
......@@ -274,7 +274,7 @@ qint64 WorkflowRenderer::getCurrentFrame() const
qint64 WorkflowRenderer::getLengthMs() const
{
return m_mainWorkflow->getLengthFrame() * getFps() * 1000;
return m_mainWorkflow->getLengthFrame() / getFps() * 1000;
}
float WorkflowRenderer::getFps() const
......
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