Commit c4617ba8 authored by Zhao Zhili's avatar Zhao Zhili Committed by François Cartegnie

demux: adaptive: fix slow buffering

Signed-off-by: François Cartegnie's avatarFrancois Cartegnie <fcvlcdev@free.fr>
parent ea4e7a0b
......@@ -651,9 +651,9 @@ void PlaylistManager::Run()
if(i_return != AbstractStream::buffering_lessthanmin)
{
mtime_t i_deadline = mdate();
if (i_return == AbstractStream::buffering_ongoing)
if(i_return == AbstractStream::buffering_ongoing)
i_deadline += (CLOCK_FREQ / 20);
if (i_return == AbstractStream::buffering_full)
else if(i_return == AbstractStream::buffering_full)
i_deadline += (CLOCK_FREQ / 10);
else if(i_return == AbstractStream::buffering_end)
i_deadline += (CLOCK_FREQ);
......
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