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
642333e2
Commit
642333e2
authored
May 15, 2021
by
Jean-Baptiste Mardelle
Browse files
Fix clip speed job creating 1 frame clip
parent
686355b9
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/jobs/speedtask.cpp
View file @
642333e2
...
...
@@ -42,8 +42,8 @@ SpeedTask::SpeedTask(const ObjectId &owner, const QString &binId, const QString
,
m_destination
(
destination
)
{
m_speed
=
filterParams
.
at
(
QStringLiteral
(
"warp_speed"
)).
toDouble
();
m_inPoint
=
qRound
(
in
/
m_speed
);
m_outPoint
=
qRound
(
out
/
m_speed
);
m_inPoint
=
in
>
-
1
?
qRound
(
in
/
m_speed
)
:
-
1
;
m_outPoint
=
out
>
-
1
?
qRound
(
out
/
m_speed
)
:
-
1
;
}
void
SpeedTask
::
start
(
QObject
*
object
,
bool
force
)
...
...
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