Commit 87cadd08 authored by Steve Lhomme's avatar Steve Lhomme Committed by Rémi Denis-Courmont

es_out: turn the hardcoded default duration into a CLOCK_FREQ based value

Signed-off-by: Rémi Denis-Courmont's avatarRémi Denis-Courmont <remi@remlab.net>
parent d1ee0484
......@@ -839,7 +839,7 @@ static void EsOutFrameNext( es_out_t *out )
msg_Dbg( p_sys->p_input, "EsOutFrameNext consummed %d ms", (int)(i_duration/1000) );
if( i_duration <= 0 )
i_duration = 40*1000;
i_duration = CLOCK_FREQ/25;
/* FIXME it is not a clean way ? */
if( p_sys->i_buffering_extra_initial <= 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