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
29a172a2
Commit
29a172a2
authored
Mar 20, 2022
by
Jean-Baptiste Mardelle
Browse files
Fix extract frame using proxy clips.
Related to
#1338
#1318
parent
67ad8732
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/monitor/monitor.cpp
View file @
29a172a2
...
...
@@ -1274,7 +1274,7 @@ void Monitor::slotExtractCurrentFrame(QString frameName, bool addToProject)
KdenliveSettings
::
setPreviewScaling
(
0
);
m_glMonitor
->
updateScaling
();
}
// Create Q
i
mage with frame
// Create Q
I
mage with frame
QImage
frame
;
// check if we are using a proxy
if
((
m_controller
!=
nullptr
)
&&
!
m_controller
->
getProducerProperty
(
QStringLiteral
(
"kdenlive:proxy"
)).
isEmpty
()
&&
...
...
@@ -1322,7 +1322,10 @@ void Monitor::slotExtractCurrentFrame(QString frameName, bool addToProject)
QMetaObject
::
invokeMethod
(
pCore
->
bin
(),
"droppedUrls"
,
Qt
::
QueuedConnection
,
Q_ARG
(
QList
<
QUrl
>
,
{
QUrl
::
fromLocalFile
(
selectedFile
)}),
Q_ARG
(
QString
,
folderInfo
));
}
});
refreshMonitor
();
if
(
!
proxiedClips
.
isEmpty
())
{
// If there is a proxy, replacing it in timeline will trigger the monitor once replaced
refreshMonitor
();
}
return
;
}
else
{
frame
=
m_glMonitor
->
getControllerProxy
()
->
extractFrame
(
m_glMonitor
->
getCurrentPos
(),
QString
(),
-
1
,
-
1
,
b
!=
nullptr
?
b
->
isChecked
()
:
false
);
...
...
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