Commit add919c7 authored by Jean-Baptiste Mardelle's avatar Jean-Baptiste Mardelle
Browse files

Only create proxy clips automatically if requested

parent d8170f00
......@@ -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("enableproxy")).toInt() == 1) {
if (pCore->currentDoc()->useProxy() && pCore->currentDoc()->getDocumentProperty(QStringLiteral("generateproxy")).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() &&
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment