1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-03 13:32:16 +00:00

demux_playlist: add some mime types

This commit is contained in:
wm4 2014-05-06 20:09:55 +02:00
parent 8bb61f97b4
commit 690b5c5161

View File

@ -162,10 +162,12 @@ struct pl_format {
.mime_types = (const char*[]){__VA_ARGS__, NULL}
static const struct pl_format formats[] = {
{"m3u", parse_m3u},
{"m3u", parse_m3u,
MIME_TYPES("audio/mpegurl", "audio/x-mpegurl", "application/x-mpegurl")},
{"ini", parse_ref_init},
{"mov", parse_mov_rtsptext},
{"pls", parse_pls},
{"pls", parse_pls,
MIME_TYPES("audio/x-scpls")},
{"txt", parse_txt},
};