Fix wrong max length for fade effects

svn path=/trunk/kdenlive/; revision=4806
parent 2735cceb
......@@ -314,7 +314,7 @@ void EffectStackEdit::transferParamDesc(const QDomElement d, int pos, int in, in
// fadeout position starts from clip end
pos = m_out - (pos - m_in);
PositionEdit *posedit = new PositionEdit(paramName, pos, 1, m_out, m_timecode);
PositionEdit *posedit = new PositionEdit(paramName, pos, 1, m_out - m_in, m_timecode);
m_valueItems[paramName+"position"] = posedit;
connect(posedit, SIGNAL(parameterChanged()), this, SLOT(collectAllParameters()));
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment