diff options
-rw-r--r-- | NEWS | 2 | ||||
-rw-r--r-- | src/decoder/plugins/OpusDecoderPlugin.cxx | 7 |
2 files changed, 9 insertions, 0 deletions
@@ -1,4 +1,6 @@ ver 0.19.4 (not yet released) +* decoder + - opus: add MIME types audio/ogg and application/ogg ver 0.19.3 (2014/11/11) * protocol 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 }; |