[vlc-devel] [PATCH] M3U playlist detection

bl4 bl4 at playker.info
Sun Jun 15 15:11:44 CEST 2008

Rémi Denis-Courmont wrote:
> Le dimanche 15 juin 2008 04:35:28 bl4, vous avez écrit :
>> With this patch the m3u module checks if the content looks like valid
>> m3u. If it finds a line with a url starting with http://, mms:// or
>> rtsp://, it parses the playlist regardless of extension.
> Looks right. Should there be FTP and HTTPS there too?

Right, I've added them.

> I also wonder if this will not break other demuxes - does anything ever start 
> with a URL except for that sort of file?

No, I checked all other vlc demux modules and well-known playlist 
formats. It seems that none starts with url or comment like M3U (except 
for RAM, which is identical to M3U and parsed in the same module).


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-M3U-playlist-detection.patch
Type: text/x-patch
Size: 2851 bytes
Desc: not available
URL: <http://mailman.videolan.org/pipermail/vlc-devel/attachments/20080615/a5a1ded8/attachment.bin>

More information about the vlc-devel mailing list