[vlc-commits] Add oga and opus audio mimetypes

Ludovic Fauvet git at videolan.org
Wed Jan 2 12:15:28 CET 2013


npapi-vlc | branch: master | Ludovic Fauvet <etix at videolan.org> | Wed Jan  2 12:06:01 2013 +0100| [5842c697e209c405c3c9628a86fb1f785cdb0037] | committer: Ludovic Fauvet

Add oga and opus audio mimetypes

> http://git.videolan.org/gitweb.cgi/npapi-vlc.git/?a=commit;h=5842c697e209c405c3c9628a86fb1f785cdb0037
---

 npapi/vlcshell.cpp |    3 +++
 1 file changed, 3 insertions(+)

diff --git a/npapi/vlcshell.cpp b/npapi/vlcshell.cpp
index c9c357b..ec52fdc 100644
--- a/npapi/vlcshell.cpp
+++ b/npapi/vlcshell.cpp
@@ -61,7 +61,10 @@ static char mimetype[] =
     /* OGG */
     "application/ogg:ogg:Ogg stream;"
     "video/ogg:ogv:Ogg video;"
+    "audio/ogg:oga:Ogg audio;"
     "application/x-ogg:ogg:Ogg stream;"
+    /* Opus */
+    "audio/ogg;codecs=opus:opus:Opus audio;"
     /* VLC */
     "application/x-vlc-plugin::VLC plug-in;"
     /* Windows Media */



More information about the vlc-commits mailing list