Commit 50d250ab authored by Rafaël Carré's avatar Rafaël Carré

opensles: properly reset latency counter on Flush

parent 18070262
......@@ -127,6 +127,7 @@ static void Flush(audio_output_t *p_aout, bool wait)
block_ChainRelease( p_sys->p_chain );
p_sys->p_chain = NULL;
p_sys->pp_last = &p_sys->p_chain;
p_sys->length = 0;
vlc_mutex_unlock( &p_sys->lock );
}
......
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