It appears that it should be: dropFrames->setChecked(false);
I'm also thinking that maybe monitor-dropframes should be initially set
to project drop B frames.
testing code:
void Render::setDropFrames(bool show)
{
if (m_mltConsumer) {
int dropFrames = 1;
dropFrames= m_mltConsumer->get_int("play.real_time"); // well,
I'm not on a Mac...
kDebug() << "df was "<< dropFrames;
dropFrames = 1;
if (show == false) dropFrames = 0;
kDebug() << "df now is "<< dropFrames;
m_mltConsumer->stop();
#ifdef Q_WS_MAC
m_mltConsumer->set("real_time", dropFrames);
#else
m_mltConsumer->set("play.real_time", dropFrames);
#endif
if (m_mltConsumer->start() == -1) {
kDebug() << "ERROR, Cannot start monitor";
}
}
}
------------------------------------------------------------------------------
This SF.Net email is sponsored by the Verizon Developer Community
Take advantage of Verizon's best-in-class app development support
A streamlined, 14 day to market process makes app distribution fast and easy
Join now and get one step closer to millions of Verizon customers
http://p.sf.net/sfu/verizon-dev2dev
_______________________________________________
Kdenlive-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/kdenlive-devel