Commit 080da938 authored by Julius Künzel's avatar Julius Künzel
Browse files

[Extract Frame] Fix wrong frame exported when using source resolution

parent f1ca6d01
......@@ -266,6 +266,9 @@ QImage MonitorProxy::extractFrame(int frame_position, const QString &path, int w
if (qFuzzyCompare(projectFps, currentFps)) {
tmpProd->seek(q->m_producer->position());
} else {
int maxLength = int(q->m_producer->get_length() * currentFps / projectFps);
tmpProd->set("length", maxLength);
tmpProd->set("out", maxLength - 1);
tmpProd->seek(int(q->m_producer->position() * currentFps / projectFps));
}
frame = tmpProd->get_frame();
......
Supports Markdown
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