[vlc-devel] [PATCH] demux: adaptive: fix slow buffering
Zhao Zhili
wantlamy at gmail.com
Mon Jul 31 03:30:10 CEST 2017
Ping...
On Fri, Jul 28, 2017 at 7:59 PM, Zhao Zhili <wantlamy at gmail.com> wrote:
> ---
> modules/demux/adaptive/PlaylistManager.cpp | 4 ++--
> 1 file changed, 2 insertions(+), 2 deletions(-)
>
> diff --git a/modules/demux/adaptive/PlaylistManager.cpp
> b/modules/demux/adaptive/PlaylistManager.cpp
> index 771fdfa..05acf08 100644
> --- a/modules/demux/adaptive/PlaylistManager.cpp
> +++ b/modules/demux/adaptive/PlaylistManager.cpp
> @@ -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);
> --
> 2.7.4
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170731/88243431/attachment.html>
More information about the vlc-devel
mailing list