From 7c6b991de7824d79dc3d71587db8139c485deb86 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 12 Nov 2014 15:14:34 +0100 Subject: decoder/opus: add MIME types audio/ogg and application/ogg --- src/decoder/plugins/OpusDecoderPlugin.cxx | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/decoder/plugins/OpusDecoderPlugin.cxx') 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 }; -- cgit v1.2.3