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
add919c7
Commit
add919c7
authored
Feb 18, 2022
by
Jean-Baptiste Mardelle
Browse files
Only create proxy clips automatically if requested
parent
d8170f00
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/bin/projectclip.cpp
View file @
add919c7
...
...
@@ -563,7 +563,7 @@ bool ProjectClip::setProducer(std::shared_ptr<Mlt::Producer> producer)
updateTimelineClips
({
TimelineModel
::
IsProxyRole
});
bool
generateProxy
=
false
;
QList
<
std
::
shared_ptr
<
ProjectClip
>>
clipList
;
if
(
pCore
->
currentDoc
()
->
getDocumentProperty
(
QStringLiteral
(
"en
abl
eproxy"
)).
toInt
()
==
1
)
{
if
(
pCore
->
currentDoc
()
->
useProxy
()
&&
pCore
->
currentDoc
()
->
getDocumentProperty
(
QStringLiteral
(
"
g
en
erat
eproxy"
)).
toInt
()
==
1
)
{
// automatic proxy generation enabled
if
(
m_clipType
==
ClipType
::
Image
&&
pCore
->
currentDoc
()
->
getDocumentProperty
(
QStringLiteral
(
"generateimageproxy"
)).
toInt
()
==
1
)
{
if
(
getProducerIntProperty
(
QStringLiteral
(
"meta.media.width"
))
>=
KdenliveSettings
::
proxyimageminsize
()
&&
...
...
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