[vlc-devel] [PATCH 15/48] hls: faster close
Rémi Denis-Courmont
remi at remlab.net
Tue Jan 10 13:47:28 CET 2012
On Mon, 9 Jan 2012 16:16:24 +0100, Hugo Beauzée-Luyssen
<beauze.h at gmail.com> wrote:
> From: Luc Saillard <luc.saillard at sfr.com>
>
> ---
> modules/stream_filter/httplive.c | 3 ++-
> 1 files changed, 2 insertions(+), 1 deletions(-)
>
> diff --git a/modules/stream_filter/httplive.c
> b/modules/stream_filter/httplive.c
> index 1039bbc..6569bd2 100644
> --- a/modules/stream_filter/httplive.c
> +++ b/modules/stream_filter/httplive.c
> @@ -1687,7 +1687,8 @@ static void* hls_Reload(void *p_this)
> * (mtime_t)1000000);
> }
>
> - mwait(p_sys->playlist.wakeup);
> + /* Allow to sleep by one second interval, to stop thread faster
*/
> + mwait(now + 1000000);
This cannot be right, come on.
> }
>
> vlc_restorecancel(canc);
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list