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
7c282740
Commit
7c282740
authored
Apr 03, 2020
by
Jean-Baptiste Mardelle
Browse files
Fix fast forwards sometimes playing after last frame
parent
17d27866
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/glwidget.cpp
View file @
7c282740
...
...
@@ -704,6 +704,7 @@ bool GLWidget::checkFrameNumber(int pos, int offset, bool isPlaying)
m_producer
->
set_speed
(
0
);
m_consumer
->
set
(
"refresh"
,
0
);
m_consumer
->
purge
();
m_proxy
->
setPosition
(
qMax
(
0
,
maxPos
));
m_producer
->
seek
(
qMax
(
0
,
maxPos
));
return
false
;
}
else
if
(
pos
<=
0
&&
speed
<
0.
)
{
...
...
@@ -711,6 +712,7 @@ bool GLWidget::checkFrameNumber(int pos, int offset, bool isPlaying)
m_producer
->
set_speed
(
0
);
m_consumer
->
set
(
"refresh"
,
0
);
m_consumer
->
purge
();
m_proxy
->
setPosition
(
0
);
m_producer
->
seek
(
0
);
return
false
;
}
...
...
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