Commit 73ac0ce9 authored by Pierre's avatar Pierre

input: With --play-and-pause don't pause non pausable stream.

Else, this results in triggering the timeshift module.
parent 19791dba
......@@ -750,7 +750,9 @@ static void MainLoop( input_thread_t *p_input, bool b_interactive )
msg_Dbg( p_input, "waiting decoder fifos to empty" );
i_wakeup = mdate() + INPUT_IDLE_SLEEP;
}
else if( b_pause_after_eof )
/* Pause after eof only if the input is pausable.
* This way we won't trigger timeshifting for nothing */
else if( b_pause_after_eof && p_input->p->b_can_pause )
{
msg_Dbg( p_input, "pausing at EOF (pause after each)");
val.i_int = PAUSE_S;
......
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