[vlc-devel] [PATCH 13/48] hls: mungle path

Jean-Paul Saman jpsaman at videolan.org
Tue Jan 10 13:21:21 CET 2012


I am not sure it should be solved here. It should probably be fixed in
the playlist demuxer itself.

Please file a bug report to fix it in the playlist demuxer. Or provide
a patch to do so.

NACK for the solution in this patch

Kind Regards,

Jean-Paul Saman.

On Mon, Jan 9, 2012 at 4:16 PM, Hugo Beauzée-Luyssen <beauze.h at gmail.com> wrote:
> From: Luc Saillard <luc.saillard at sfr.com>
>
> ---
>  modules/stream_filter/httplive.c |    6 ++++++
>  1 files changed, 6 insertions(+), 0 deletions(-)
>
> diff --git a/modules/stream_filter/httplive.c b/modules/stream_filter/httplive.c
> index 9788c7d..931ff96 100644
> --- a/modules/stream_filter/httplive.c
> +++ b/modules/stream_filter/httplive.c
> @@ -1999,6 +1999,12 @@ static int Open(vlc_object_t *p_this)
>         goto fail_thread;
>     }
>
> +    /* We don't want the m3u playlist module to be called to demux our stream,
> +     * so remove the extension of the path */
> +    char *psz_ext = strrchr ( s->psz_path, '.' );
> +    if (psz_ext)
> +        psz_ext[0] = 0;
> +
>     return VLC_SUCCESS;
>
>  fail_thread:
> --
> 1.7.8.3
>
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> http://mailman.videolan.org/listinfo/vlc-devel



More information about the vlc-devel mailing list