[vlc-devel] [PATCH 14/48] hls: Don't storm windows with cond signal
Rémi Denis-Courmont
remi at remlab.net
Tue Jan 10 13:47:10 CET 2012
On Mon, 9 Jan 2012 16:16:23 +0100, Hugo Beauzée-Luyssen
<beauze.h at gmail.com> wrote:
> From: Luc Saillard <luc.saillard at sfr.com>
>
> ---
> modules/stream_filter/httplive.c | 5 ++++-
> 1 files changed, 4 insertions(+), 1 deletions(-)
>
> diff --git a/modules/stream_filter/httplive.c
> b/modules/stream_filter/httplive.c
> index 931ff96..1039bbc 100644
> --- a/modules/stream_filter/httplive.c
> +++ b/modules/stream_filter/httplive.c
> @@ -1417,6 +1417,10 @@ static int hls_ReloadPlaylist(stream_t *s)
>
> vlc_array_destroy(hls_streams);
>
> + vlc_mutex_lock(&p_sys->download.lock_wait);
> + vlc_cond_signal(&p_sys->download.wait);
> + vlc_mutex_unlock(&p_sys->download.lock_wait);
This cannot be right. This was already pointed out for the exact same file
so I won't bother with the details.
--
Rémi Denis-Courmont
http://www.remlab.net/
More information about the vlc-devel
mailing list