Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Kdenlive
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
256
Issues
256
List
Boards
Labels
Service Desk
Milestones
Merge Requests
14
Merge Requests
14
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Multimedia
Kdenlive
Commits
92fe66da
Commit
92fe66da
authored
Feb 09, 2020
by
Jean-Baptiste Mardelle
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix pasted clips with negative speed have wrong in/out.
CCBUG: 417143
parent
0b8d30e7
Pipeline
#14765
passed with stage
in 20 minutes and 8 seconds
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
6 deletions
+0
-6
src/timeline2/model/timelinefunctions.cpp
src/timeline2/model/timelinefunctions.cpp
+0
-6
No files found.
src/timeline2/model/timelinefunctions.cpp
View file @
92fe66da
...
...
@@ -1446,12 +1446,6 @@ bool TimelineFunctions::pasteClips(const std::shared_ptr<TimelineItemModel> &tim
in
=
0
;
timeline
->
m_allClips
[
newId
]
->
m_producer
->
set
(
"length"
,
out
+
1
);
}
if
(
speed
<
0
)
{
// on negative speed clips, in/out are inverted
int
length
=
out
-
in
;
in
=
timeline
->
m_allClips
[
newId
]
->
getMaxDuration
()
-
out
;
out
=
in
+
length
;
}
timeline
->
m_allClips
[
newId
]
->
setInOut
(
in
,
out
);
int
targetId
=
prod
.
attribute
(
QStringLiteral
(
"id"
)).
toInt
();
correspondingIds
[
targetId
]
=
newId
;
...
...
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