[vlc-devel] playlist/m3u: ignore input with HLS-specific Content-Type

Rémi Denis-Courmont remi at remlab.net
Thu Jun 29 11:53:25 CEST 2017


Le 29 juin 2017 11:06:11 GMT+03:00, Francois Cartegnie <fcvlcdev at free.fr> a écrit :
>> commit 7ce91b60a8e0789859c40264c015c1f25f090509
>
>> +    if (type != NULL
>> +     && (!vlc_ascii_strcasecmp(type,
>"application/vnd.apple.mpegurl")
>> +      || !vlc_ascii_strcasecmp(type, "audio/mpegurl")))
>> +    {
>> +        free(type);
>> +        return VLC_EGENERIC;
>> +    }
>> +
>
>Now this time this breaks M3U.
>
>The rule is simple:
>Only application/vnd.apple.mpegurl is HLS.
>
>Everything else can be M3U or HLS.
>
>
>Francois
>_______________________________________________
>vlc-devel mailing list
>To unsubscribe or modify your subscription options:
>https://mailman.videolan.org/listinfo/vlc-devel

First, I don't agree, and second, that is not what your broken patch did.
-- 
Rémi Denis-Courmont
Typed on an inconvenient virtual keyboard
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20170629/ccd19eb3/attachment.html>


More information about the vlc-devel mailing list