Fix motion tracker filter broken on cut clips.

Should fix #437
parent e1cac1f5
......@@ -103,7 +103,7 @@ void FilterClipJob::configureFilter()
}
}
if (m_filterData.find(QLatin1String("relativeInOut")) != m_filterData.end()) {
m_filter->set_in_and_out(0, length - 1);
// leave it operate on full clip
} else {
m_filter->set_in_and_out(m_producer->get_in(), m_producer->get_out());
}
......
......@@ -107,7 +107,7 @@ bool MeltJob::startJob()
if (m_in == -1) {
m_in = 0;
}
if (m_out != m_producer->get_length() - 1 || m_in != 0) {
if (m_in != 0 || m_out != m_producer->get_length() - 1) {
std::swap(m_wholeProducer, m_producer);
m_producer.reset(m_wholeProducer->cut(m_in, m_out));
}
......
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