Commit 0a43901f authored by Hugo Beauzée-Luyssen's avatar Hugo Beauzée-Luyssen

ClipWorkflow: Remove unneeded check

parent d16b817f
......@@ -244,12 +244,10 @@ ClipWorkflow::commonUnlock()
void
ClipWorkflow::computePtsDiff( qint64 pts )
{
if ( m_previousPts == -1 )
m_previousPts = pts;
if ( m_currentPts == -1 )
m_currentPts = pts;
if ( m_pauseDuration != -1 )
{
//No need to check for m_currentPtr before, as we can't start in paused mode.
//so m_currentPts will not be -1
m_previousPts = m_currentPts + m_pauseDuration;
m_pauseDuration = -1;
}
......
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