Fix playlist duration in bin

parent 83ab6e7b
Pipeline #4325 passed with stage
in 16 minutes and 59 seconds
......@@ -292,8 +292,9 @@ bool LoadJob::startJob()
if (ok) {
qDebug()<<" / / / FIXING OFFSET DATA: "<<offset;
offset = m_producer->get_playtime() - offset - 1;
m_producer->parent().set("out", offset - 1);
m_producer->parent().set("length", offset);
m_producer->set("out", offset - 1);
m_producer->set("length", offset);
m_producer->set("kdenlive:duration", offset);
}
} else {
qDebug()<<"// NO OFFSET DAT FOUND\n\n";
......
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