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

Enforce rgb24 format for color clips (faster compositing and prevents colorspace conversion)

parent 44ce0c59
Pipeline #22770 passed with stage
in 9 minutes and 35 seconds
...@@ -247,6 +247,8 @@ void ClipController::getInfoForProducer() ...@@ -247,6 +247,8 @@ void ClipController::getInfoForProducer()
} }
} else if (m_service == QLatin1String("colour") || m_service == QLatin1String("color")) { } else if (m_service == QLatin1String("colour") || m_service == QLatin1String("color")) {
m_clipType = ClipType::Color; m_clipType = ClipType::Color;
// Required for faster compositing
m_masterProducer->set("mlt_image_format", "rgb24");
m_hasLimitedDuration = false; m_hasLimitedDuration = false;
} else if (m_service == QLatin1String("kdenlivetitle")) { } else if (m_service == QLatin1String("kdenlivetitle")) {
if (!m_path.isEmpty()) { if (!m_path.isEmpty()) {
......
Markdown is supported
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