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
f68fb0cd
Commit
f68fb0cd
authored
Jul 27, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix some effects like fades not terminating correctly on image/color/title clips.
Related to
#731
parent
8440931c
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/projectclip.cpp
View file @
f68fb0cd
...
...
@@ -760,6 +760,11 @@ std::pair<std::shared_ptr<Mlt::Producer>, bool> ProjectClip::giveMasterAndGetTim
// Color, image and text clips always use master producer in timeline
m_videoProducers
[
tid
]
=
std
::
make_shared
<
Mlt
::
Producer
>
(
&
master
->
parent
());
m_effectStack
->
loadService
(
m_videoProducers
[
tid
]);
}
else
{
// Ensure clip out = length - 1 so that effects work correctly
if
(
out
!=
master
->
parent
().
get_length
()
-
1
)
{
master
->
parent
().
set
(
"out"
,
master
->
parent
().
get_length
()
-
1
);
}
}
return
{
master
,
true
};
}
...
...
Write
Preview
Markdown
is supported
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