Commit 2a41f846 authored by Laurent Aimar's avatar Laurent Aimar

Improved (a little) reactivity on seek.

parent 264228f0
......@@ -768,6 +768,17 @@ static void MainLoop( input_thread_t *p_input )
MainLoopStatistic( p_input );
i_statistic_update = i_current + INT64_C(1000000);
}
/* Check if i_wakeup is still valid */
if( i_wakeup != 0 )
{
mtime_t i_new_wakeup = input_EsOutGetWakeup( p_input->p->p_es_out );
if( !i_new_wakeup )
{
msg_Err( p_input, "RESET" );
i_wakeup = 0;
}
}
} while( i_current < i_wakeup );
}
......
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