Fix default clip zone 1 frame too short

parent eaa882f7
......@@ -739,7 +739,7 @@ void ClipController::setZone(const QPoint &zone)
QPoint ClipController::zone() const
{
int in = getProducerIntProperty(QStringLiteral("kdenlive:zone_in"));
int max = getFramePlaytime() - 1;
int max = getFramePlaytime();
int out = qMin(getProducerIntProperty(QStringLiteral("kdenlive:zone_out")), max);
if (out <= in) {
out = max;
......
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