Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Multimedia
Kdenlive
Commits
ac5a8a4e
Commit
ac5a8a4e
authored
Oct 28, 2019
by
Jean-Baptiste Mardelle
Browse files
Fix composition duration for clips at same position/length
parent
9e2a4bb9
Changes
1
Show whitespace changes
Inline
Side-by-side
src/timeline2/view/timelinecontroller.cpp
View file @
ac5a8a4e
...
...
@@ -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
);
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment