[vlc-devel] [PATCH] hds: free mutexes and cond variables on all streams

Tristan Matthews le.businessman at gmail.com
Fri Nov 28 07:33:12 CET 2014


On Thu, Nov 27, 2014 at 2:37 PM, Antti Ajanki <antti.ajanki at iki.fi> wrote:

> ---
>  modules/stream_filter/hds/hds.c |    7 ++-----
>  1 file changed, 2 insertions(+), 5 deletions(-)
>
> diff --git a/modules/stream_filter/hds/hds.c
> b/modules/stream_filter/hds/hds.c
> index 7e3c017..5179bf5 100644
> --- a/modules/stream_filter/hds/hds.c
> +++ b/modules/stream_filter/hds/hds.c
> @@ -1453,6 +1453,8 @@ static void hds_free( hds_stream_t *p_stream )
>
>      FREENULL( p_stream->abst_url );
>
> +    cleanup_threading( p_stream );
> +
>      FREENULL( p_stream->url );
>      FREENULL( p_stream->movie_id );
>      for( int i = 0; i < p_stream->server_entry_count; i++ )
> @@ -1563,11 +1565,6 @@ static void Close( vlc_object_t *p_this )
>
>      vlc_join( p_sys->dl_thread, NULL );
>
> -    if (stream)
> -    {
> -        cleanup_threading( stream );
> -    }
> -
>      if( p_sys->live )
>      {
>          vlc_join( p_sys->live_thread, NULL );
> --
> 1.7.10.4
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
>

Applied, thanks.

Best,
Tristan
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20141128/e507fd30/attachment.html>


More information about the vlc-devel mailing list