Skip to content
GitLab
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
88013146
Commit
88013146
authored
Apr 03, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix motion tracker filter broken on cut clips.
Should fix
#437
parent
e1cac1f5
Changes
2
Hide whitespace changes
Inline
Side-by-side
src/jobs/filterclipjob.cpp
View file @
88013146
...
...
@@ -103,7 +103,7 @@ void FilterClipJob::configureFilter()
}
}
if
(
m_filterData
.
find
(
QLatin1String
(
"relativeInOut"
))
!=
m_filterData
.
end
())
{
m_filter
->
set_in_and_out
(
0
,
length
-
1
);
// leave it operate on full clip
}
else
{
m_filter
->
set_in_and_out
(
m_producer
->
get_in
(),
m_producer
->
get_out
());
}
...
...
src/jobs/meltjob.cpp
View file @
88013146
...
...
@@ -107,7 +107,7 @@ bool MeltJob::startJob()
if
(
m_in
==
-
1
)
{
m_in
=
0
;
}
if
(
m_out
!=
m_producer
->
get_length
()
-
1
||
m_in
!=
0
)
{
if
(
m_in
!=
0
||
m_out
!=
m_producer
->
get_length
()
-
1
)
{
std
::
swap
(
m_wholeProducer
,
m_producer
);
m_producer
.
reset
(
m_wholeProducer
->
cut
(
m_in
,
m_out
));
}
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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