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:
parent
8bb61f97b4
commit
690b5c5161
@ -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},
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user