Commit f2989d2e authored by Rémi Denis-Courmont's avatar Rémi Denis-Courmont

input: fix infinite loop with threaded demux (fixes #15617)

parent b8393119
......@@ -686,8 +686,9 @@ static void MainLoop( input_thread_t *p_input, bool b_interactive )
bool b_force_update = false;
MainLoopDemux( p_input, &b_force_update, i_start_mdate );
i_wakeup = es_out_GetWakeup( p_input->p->p_es_out );
if( p_input->p->master->p_demux->pf_demux != NULL )
i_wakeup = es_out_GetWakeup( p_input->p->p_es_out );
if( b_force_update )
i_intf_update = 0;
}
......
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