EffectStackEdit::EffectStackEdit(QWidget *parent) :
QWidget(parent),
m_in(0),
- m_out(0)
+ m_out(0),
+ m_frameSize(QPoint())
{
setSizePolicy(QSizePolicy(QSizePolicy::MinimumExpanding, QSizePolicy::MinimumExpanding));
QVBoxLayout *vbox1 = new QVBoxLayout(parent);
iconCache.clear();
}
+void EffectStackEdit::setFrameSize(QPoint p)
+{
+ m_frameSize = p;
+}
+
void EffectStackEdit::updateProjectFormat(MltVideoProfile profile, Timecode t)
{
m_profile = profile;
m_valueItems[paramName+"complex"] = pl;
m_items.append(pl);
} else if (type == "geometry") {
- Geometryval *geo = new Geometryval(m_profile);
+ Geometryval *geo = new Geometryval(m_profile, m_frameSize);
connect(geo, SIGNAL(parameterChanged()), this, SLOT(collectAllParameters()));
connect(geo, SIGNAL(seekToPos(int)), this, SLOT(slotSeekToPos(int)));
geo->setupParam(pa, minFrame, maxFrame);