A null profile prevents MLT from serializing profile information.
There was something strange happening when switching profiles where it
would apply the previous profile's frame rate to the new profile.
There is still a framerate-related bug when you close Kdenlive with a project
profile whose frame rate is different than the default, re-open Kdenlive,
and then use the default profile!
svn path=/trunk/kdenlive/; revision=4995
const QString Render::sceneList()
{
QString playlist;
- Mlt::Consumer xmlConsumer(*m_mltProfile, "xml:kdenlive_playlist");
+ Mlt::Profile profile((mlt_profile) 0);
+ Mlt::Consumer xmlConsumer(profile, "xml:kdenlive_playlist");
m_mltProducer->optimise();
xmlConsumer.set("terminate_on_pause", 1);
Mlt::Producer prod(m_mltProducer->get_producer());