]> git.sesse.net Git - kdenlive/commitdiff
Tell MLT to automatically insert the consumer producer and not pollute
authorDan Dennedy <dan@dennedy.org>
Fri, 29 Oct 2010 04:19:32 +0000 (04:19 +0000)
committerDan Dennedy <dan@dennedy.org>
Fri, 29 Oct 2010 04:19:32 +0000 (04:19 +0000)
the mlt_profile Kdenlive is using when loading a MLT XML (project) as a
clip.

svn path=/trunk/kdenlive/; revision=5060

src/renderer.cpp

index 0d1c1a61d27778e3070db0b25ab0d00eb270dd94..26ecea8710d3c0ebc971781e9b6fa02fb1d730be 100644 (file)
@@ -178,6 +178,7 @@ void Render::buildConsumer(const QString profileName)
     //TODO: uncomment following line when everything is clean
     //if (m_mltProfile) delete m_mltProfile;
     m_mltProfile = new Mlt::Profile(tmp);
+    m_mltProfile->get_profile()->is_explicit = 1;
     delete[] tmp;
 
     QString videoDriver = KdenliveSettings::videodrivername();