[vlc-devel] [PATCH] demux: adaptive: fix slow buffering
Francois Cartegnie
fcvlcdev at free.fr
Mon Jul 31 16:10:35 CEST 2017
Le 31/07/2017 à 16:08, Francois Cartegnie a écrit :
>> 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);
>
> I don't remember if I wanted to add delays, but,
>
Err, that wasn't even adding delays.
So you're not fixing anything in the logic. Just adding else into syntax.
Francois
More information about the vlc-devel
mailing list