Commit 9baab2bd authored by Francois Cartegnie's avatar Francois Cartegnie

Qt: InputManager: don't enforce lower bound after a seek

Should fix problems like #2243.
After a seek, the updated position could be the keyframe position
choosen by demux, and then lower than A.
parent e3748920
......@@ -951,11 +951,8 @@ void InputManager::setAtoB()
/* Function called regularly when in an AtoB loop */
void InputManager::AtoBLoop( float, int64_t i_time, int )
{
if( timeB )
{
if( i_time >= timeB || i_time < timeA )
var_SetTime( THEMIM->getInput(), "time" , timeA );
}
if( timeB && i_time >= timeB )
var_SetTime( THEMIM->getInput(), "time" , timeA );
}
/**********************************************************************
......
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