Commit f6a57b9b authored by Laurent Aimar's avatar Laurent Aimar

Fixed EOF handling while buffering in pause state.

It avoids to quit the pause state.
parent dd298083
......@@ -777,7 +777,7 @@ static void MainLoop( input_thread_t *p_input )
* is paused -> this may cause problem with some of them
* The same problem can be seen when seeking while paused */
b_paused = p_input->p->i_state == PAUSE_S &&
!es_out_GetBuffering( p_input->p->p_es_out );
( !es_out_GetBuffering( p_input->p->p_es_out ) || p_input->p->input.b_eof );
b_demux_polled = true;
if( !b_paused )
......
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