]> git.sesse.net Git - kdenlive/blobdiff - src/renderer.cpp
Fix "save zone" saving proxy instead of real clip:
[kdenlive] / src / renderer.cpp
index 7a4886737309bcf5cb9c503e5704314c7ab9766d..fd6a48585b89985b35ce3a64613e5b40d9b96545 100644 (file)
@@ -185,7 +185,6 @@ void Render::buildConsumer(const QString profileName)
 {
     m_activeProfile = profileName;
     char *tmp = qstrdup(m_activeProfile.toUtf8().constData());
-    setenv("MLT_PROFILE", tmp, 1);
     delete m_blackClip;
     m_blackClip = NULL;
 
@@ -194,7 +193,7 @@ void Render::buildConsumer(const QString profileName)
     if (m_mltProfile) delete m_mltProfile;
 
     m_mltProfile = new Mlt::Profile(tmp);
-    m_mltProfile->get_profile()->is_explicit = 1;
+    m_mltProfile->set_explicit(true);
     delete[] tmp;
 
     m_blackClip = new Mlt::Producer(*m_mltProfile, "colour", "black");