[vlc-devel] commit: Update mozilla OSX plugin to support a full range of mimetypes ( Rafaël Carré )

git version control git at videolan.org
Tue Mar 18 11:26:22 CET 2008


vlc | branch: 0.8.6-bugfix | Rafaël Carré <funman at videolan.org> | Tue Mar 18 11:19:30 2008 +0100| [83bf42a637f555080519f6b002b02dc54d3edc90]

Update mozilla OSX plugin to support a full range of mimetypes

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=83bf42a637f555080519f6b002b02dc54d3edc90
---

 mozilla/vlc.r |   72 +++++++++++++++++++++++++++++++++++++++++++++++++++++---
 1 files changed, 68 insertions(+), 4 deletions(-)

diff --git a/mozilla/vlc.r b/mozilla/vlc.r
index 8f44c28..5cac34e 100644
--- a/mozilla/vlc.r
+++ b/mozilla/vlc.r
@@ -13,9 +13,9 @@ data 'carb' (0)
 resource 'STR#' (126)
 {
     {
-        "Version 0.8.6, copyright 1996-2006 The VideoLAN Team"
+        "Version 0.8.6, copyright 1996-2008 The VideoLAN Team"
         "<BR><A HREF='http://www.videolan.org'>http://www.videolan.org</A>",
-        "VLC Multimedia Plugin"
+        "VLC Multimedia Plug-in"
     };
 };
 
@@ -23,13 +23,45 @@ resource 'STR#' (126)
 resource 'STR#' (127)
 {
     {
+        /* MPEG-1 and MPEG-2 */
+        "MPEG audio",
+        "MPEG audio",
+        "MPEG video",
+        "MPEG video",
+        "MPEG video",
+        "MPEG video",
+        /* MPEG-4 */
+        "MPEG-4 video",
+        "MPEG-4 audio",
+        "MPEG-4 video",
+        "MPEG-4 video",
+        /* AVI */
+        "AVI video",
+        /* Quicktime */
+/*        "QuickTime video", */
         /* OGG */
         "Ogg stream",
         "Ogg stream",
         /* VLC */
-        "VLC plugin",
+        "VLC plug-in",
+        /* Windows Media */
+        "Windows Media video",
+        "Windows Media video",
+        "Windows Media plug-in",
+        "Windows Media video",
         /* Google VLC */
-        "Google VLC plugin",
+        "Google VLC plug-in",
+        /* WAV audio */
+        "WAV audio",
+        "WAV audio",
+        /* 3GPP */
+        "3GPP audio",
+        "3GPP video",
+        /* 3GPP2 */
+        "3GPP2 audio",
+        "3GPP2 video",
+        /* DIVX */
+        "DivX video",
     };
 };
 
@@ -37,13 +69,45 @@ resource 'STR#' (127)
 resource 'STR#' (128,"MIME Type")
 {
     {
+        /* MPEG-1 and MPEG-2 */
+        "audio/mpeg", "mp2,mp3,mpga,mpega",
+        "audio/x-mpeg", "mp2,mp3,mpga,mpega",
+        "video/mpeg", "mpg,mpeg,mpe",
+        "video/x-mpeg", "mpg,mpeg,mpe",
+        "video/mpeg-system", "mpg,mpeg,vob",
+        "video/x-mpeg-system", "mpg,mpeg,vob",
+        /* MPEG-4 */
+        "video/mpeg4", "mp4,mpg4",
+        "audio/mpeg4", "mp4,mpg4",
+        "application/mpeg4-iod", "mp4,mpg4",
+        "application/mpeg4-muxcodetable", "mp4,mpg4",
+        /* AVI */
+        "video/x-msvideo", "avi",
+        /* Quicktime */
+/*        "video/quicktime", "mov,qt", */
         /* OGG */
         "application/ogg", "ogg",
         "application/x-ogg", "ogg",
         /* VLC */
         "application/x-vlc-plugin", "vlc",
+        /* Windows Media */
+        "video/x-ms-asf-plugin", "asf,asx",
+        "video/x-ms-asf", "asf,asx",
+        "application/x-mplayer2", "",
+        "video/x-ms-wmv", "wmv",
         /* Google VLC */
         "video/x-google-vlc-plugin", "",
+        /* WAV audio */
+        "audio/wav", "wav",
+        "audio/x-wav", "wav",
+        /* 3GPP */
+        "audio/3gpp", "3gp,3gpp",
+        "video/3gpp", "3gp,3gpp",
+        /* 3GPP2 */
+        "audio/3gpp2", "3g2,3gpp2",
+        "video/3gpp2", "3g2,3gpp2",
+        /* DIVX */
+        "video/divx", "divx",
     };
 };
 




More information about the vlc-devel mailing list