Fix composition duration for clips at same position/length

parent 9e2a4bb9
......@@ -393,7 +393,7 @@ int TimelineController::insertNewComposition(int tid, int clipId, int offset, co
revert = position > minimum;
}
}
} else if (position > bottom.first) {
} else if (position >= bottom.first) {
int test_duration = m_model->getTrackById_const(lowerVideoTrackId)->suggestCompositionLength(position);
if (test_duration > 0) {
duration = qMin(test_duration, clip_duration);
......
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