Commit 951e98ad authored by Hugo Beauzee-Luyssen's avatar Hugo Beauzee-Luyssen

Corrected Clip::getLength()

Was returning -1 everytime...
parent 3454cf1b
......@@ -68,7 +68,7 @@ qint64 Clip::getLength() const
void Clip::computeLength()
{
if ( m_begin == Clip::UntilEndOfMedia )
if ( m_end == Clip::UntilEndOfMedia )
m_length = m_parent->getLength() - m_begin;
else
m_length = m_end - m_begin;
......
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