diff options
author | Max Kellermann <max@duempel.org> | 2014-11-12 15:14:34 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2014-11-12 15:16:34 +0100 |
commit | 7c6b991de7824d79dc3d71587db8139c485deb86 (patch) | |
tree | c691f9ee3c332a556a3c4a7670c73ecb7e611d07 /src/decoder/plugins | |
parent | 82460aa49f94c9a0d343a0c864727ac6fee93a1b (diff) | |
download | mpd-7c6b991de7824d79dc3d71587db8139c485deb86.tar.gz mpd-7c6b991de7824d79dc3d71587db8139c485deb86.tar.xz mpd-7c6b991de7824d79dc3d71587db8139c485deb86.zip |
decoder/opus: add MIME types audio/ogg and application/ogg
Diffstat (limited to '')
-rw-r--r-- | src/decoder/plugins/OpusDecoderPlugin.cxx | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/decoder/plugins/OpusDecoderPlugin.cxx b/src/decoder/plugins/OpusDecoderPlugin.cxx index b6b2e0465..25497fe8a 100644 --- a/src/decoder/plugins/OpusDecoderPlugin.cxx +++ b/src/decoder/plugins/OpusDecoderPlugin.cxx @@ -510,6 +510,13 @@ static const char *const opus_suffixes[] = { }; static const char *const opus_mime_types[] = { + /* the official MIME type (RFC 5334) */ + "audio/ogg", + + /* deprecated (RFC 5334) */ + "application/ogg", + + /* deprecated; from an early draft */ "audio/opus", nullptr }; |