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
a9454101
Commit
a9454101
authored
Nov 01, 2019
by
Jean-Baptiste Mardelle
Browse files
Go to project end and play now both stop 1 frame after project end
parent
afafd1f1
Pipeline
#9832
passed with stage
in 14 minutes and 1 second
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/monitor.cpp
View file @
a9454101
...
...
@@ -1664,7 +1664,7 @@ void Monitor::updateAudioForAnalysis()
void
Monitor
::
onFrameDisplayed
(
const
SharedFrame
&
frame
)
{
m_monitorManager
->
frameDisplayed
(
frame
);
if
(
!
m_glMonitor
->
checkFrameNumber
(
frame
.
get_position
(),
m_id
==
Kdenlive
::
ClipMonitor
?
0
:
TimelineModel
::
seekDuration
+
1
))
{
if
(
!
m_glMonitor
->
checkFrameNumber
(
frame
.
get_position
(),
m_id
==
Kdenlive
::
ClipMonitor
?
0
:
TimelineModel
::
seekDuration
))
{
m_playAction
->
setActive
(
false
);
}
checkDrops
(
m_glMonitor
->
droppedFrames
());
...
...
@@ -2088,7 +2088,7 @@ void Monitor::slotEnd()
if
(
m_id
==
Kdenlive
::
ClipMonitor
)
{
m_glMonitor
->
seek
(
m_glMonitor
->
duration
());
}
else
{
m_glMonitor
->
seek
(
pCore
->
projectDuration
());
m_glMonitor
->
seek
(
pCore
->
projectDuration
()
-
1
);
}
}
...
...
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