diff options
author | wm4 <wm4@nowhere> | 2014-05-06 20:09:55 +0200 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2014-05-06 20:09:55 +0200 |
commit | 690b5c5161569ac6a93af8ab9c1bc78d5d5b868d (patch) | |
tree | a74a82fee989c6b9db109a2a6c9054c1544739c9 /demux/demux_playlist.c | |
parent | 8bb61f97b435b0ee4a28369ad5a01b1f17d3ef76 (diff) | |
download | mpv-690b5c5161569ac6a93af8ab9c1bc78d5d5b868d.tar.bz2 mpv-690b5c5161569ac6a93af8ab9c1bc78d5d5b868d.tar.xz |
demux_playlist: add some mime types
Diffstat (limited to 'demux/demux_playlist.c')
-rw-r--r-- | demux/demux_playlist.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/demux/demux_playlist.c b/demux/demux_playlist.c index 01c4cae619..ee82097fc6 100644 --- a/demux/demux_playlist.c +++ b/demux/demux_playlist.c @@ -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}, }; |