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
080da938
Commit
080da938
authored
Feb 05, 2022
by
Julius Künzel
Browse files
[Extract Frame] Fix wrong frame exported when using source resolution
parent
f1ca6d01
Changes
1
Show whitespace changes
Inline
Side-by-side
src/monitor/monitorproxy.cpp
View file @
080da938
...
...
@@ -266,6 +266,9 @@ QImage MonitorProxy::extractFrame(int frame_position, const QString &path, int w
if
(
qFuzzyCompare
(
projectFps
,
currentFps
))
{
tmpProd
->
seek
(
q
->
m_producer
->
position
());
}
else
{
int
maxLength
=
int
(
q
->
m_producer
->
get_length
()
*
currentFps
/
projectFps
);
tmpProd
->
set
(
"length"
,
maxLength
);
tmpProd
->
set
(
"out"
,
maxLength
-
1
);
tmpProd
->
seek
(
int
(
q
->
m_producer
->
position
()
*
currentFps
/
projectFps
));
}
frame
=
tmpProd
->
get_frame
();
...
...
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