Commit dd298083 authored by Laurent Aimar's avatar Laurent Aimar

Removed useless check on input b_eof flag while waiting for decoder's fifos.

p_input->b_eof cannot be true at this stage.
parent 8c61e8b3
......@@ -788,7 +788,7 @@ static void MainLoop( input_thread_t *p_input )
i_wakeup = es_out_GetWakeup( p_input->p->p_es_out );
}
else if( !p_input->b_eof && !es_out_GetEmpty( p_input->p->p_es_out ) )
else if( !es_out_GetEmpty( p_input->p->p_es_out ) )
{
msg_Dbg( p_input, "waiting decoder fifos to empty" );
i_wakeup = mdate() + INPUT_IDLE_SLEEP;
......
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