Commit 0118eee9 authored by Jean-Baptiste Kempf's avatar Jean-Baptiste Kempf

Synchronize mimetypes between Win32|Mac|Unix

parent d0f5933a
......@@ -27,13 +27,13 @@ BEGIN
VALUE "ProductVersion", "@VERSION@"
VALUE "OriginalFilename", "npvlc.dll\0"
VALUE "FileVersion", "@VERSION@"
VALUE "FileDescription", "Version @VERSION@, copyright @COPYRIGHT_YEARS@ The VideoLAN Team<br><a href=""http://www.videolan.org/"">http://www.videolan.org/</a>\0"
VALUE "FileDescription", "Version @VERSION@, copyright @COPYRIGHT_YEARS@ VideoLAN<br><a href=""http://www.videolan.org/vlc/"">http://www.videolan.org/vlc/</a>\0"
VALUE "InternalName", "npvlc\0"
VALUE "CompanyName", "VideoLAN\0"
VALUE "LegalCopyright", "Copyright \251 @COPYRIGHT_YEARS@ VideoLAN and Authors\0"
VALUE "MIMEType", "audio/mpeg|audio/x-mpeg|video/mpeg|video/x-mpeg|video/mpeg-system|video/x-mpeg-system|video/mp4|audio/mp4|application/mpeg4-iod|application/mpeg4-muxcodetable|video/x-msvideo|video/quicktime|application/x-ogg|application/ogg|application/x-vlc-plugin|video/x-ms-asf-plugin|video/x-ms-asf|application/x-mplayer2|video/x-ms-wmv|application/x-google-vlc-plugin|audio/wav|audio/x-wav|audio/3gpp|video/3gpp|audio/3gpp2|video/3gpp2|video/divx|video/flv|video/x-flv|video/x-matroska|audio/x-matroska|application/xspf+xml|audio/x-m4a|audio/x-mpegurl|audio/x-ms-wma\0"
VALUE "FileExtents", "mp2,mp3,mpga,mpega|mp2,mp3,mpga,mpega|mpg,mpeg,mpe|mpg,mpeg,mpe|mpg,mpeg,vob|mpg,mpeg,vob|mp4,mpg4|mp4,mpg4|mp4,mpg4|mp4,mpg4|avi|mov,qt|ogg|ogg|vlc|asf,asx|asf,asx||wmv||wav|wav|3gp,3gpp|3gp,3gpp|3g2,3gpp2|3g2,3gpp2|divx|flv|flv|mkv|mka|xspf|m4a|m3u|wma\0"
VALUE "FileOpenName", "MPEG audio|MPEG audio|MPEG video|MPEG video|MPEG video|MPEG video|MPEG-4 video|MPEG-4 audio|MPEG-4 video|MPEG-4 video|AVI video|QuickTime video|Ogg stream|Ogg stream|VLC plug-in|Windows Media video|Windows Media video|Windows Media plug-in|Windows Media video|Google VLC plug-in|WAV audio|WAV audio|3GPP audio|3GPP video|3GPP2 audio|3GPP2 video|DivX video|FLV video|FLV video|Matroska video|Matroska audio|Playlist xspf|MPEG-4 audio|Playlist M3U|Windows Media Audio\0"
VALUE "MIMEType", "audio/mpeg|audio/x-mpeg|video/mpeg|video/x-mpeg|video/mpeg-system|video/x-mpeg-system|audio/mp4|audio/x-m4a|video/mp4|application/mpeg4-iod|application/mpeg4-muxcodetable|video/x-m4v|video/x-msvideo|application/ogg|video/ogg|application/x-ogg|application/x-vlc-plugin|video/x-ms-asf-plugin|video/x-ms-asf|application/x-mplayer2|video/x-ms-wmv|video/x-ms-wvx|audio/x-ms-wma|application/x-google-vlc-plugin|audio/wav|audio/x-wav|audio/3gpp|video/3gpp|audio/3gpp2|video/3gpp2|video/divx|video/flv|video/x-flv|video/x-matroska|audio/x-matroska|application/xspf+xml|audio/x-mpegurl|video/webm|audio/webm|application/vnd.rn-realmedia|audio/x-realaudio|audio/amr\0"
VALUE "FileExtents", "mp2,mp3,mpga,mpega|mp2,mp3,mpga,mpega|mpg,mpeg,mpe|mpg,mpeg,mpe|mpg,mpeg,mpe,vob|mpg,mpeg,mpe,vob|aac,mp4,mpg4|m4a|mp4,mpg4|mp4,mpg4|mp4,mpg4|m4v|avi|ogg|ogv|ogg|vlc|asf,asx|asf,asx||wmv|wvx|wma||wav|wav|3gp,3gpp|3gp,3gpp|3g2,3gpp2|3g2,3gpp2|divx|flv|flv|mkv|mka|xspf|m3u|webm|webm|rm|ra|amr\0"
VALUE "FileOpenName", "MPEG audio|MPEG audio|MPEG video|MPEG video|MPEG video|MPEG video|MPEG-4 audio|MPEG-4 audio|MPEG-4 video|MPEG-4 video|MPEG-4 video|MPEG-4 video|AVI video|Ogg stream|Ogg video|Ogg stream|VLC plug-in|Windows Media Video|Windows Media Video|Windows Media|Windows Media|Windows Media Video|Windows Media Audio|Google VLC plug-in|WAV audio|WAV audio|3GPP audio|3GPP video|3GPP2 audio|3GPP2 video|DivX video|FLV video|FLV video|Matroska video|Matroska audio|Playlist xspf|MPEG audio|WebM video|WebM audio|Real Media File|Real Media Audio|AMR audio\0"
END
END
BLOCK "VarFileInfo"
......
......@@ -31,16 +31,20 @@ resource 'STR#' (127)
"MPEG video",
"MPEG video",
/* MPEG-4 */
"MPEG-4 video",
"MPEG-4 audio",
"MPEG-4 audio",
/* */
"MPEG-4 video",
"MPEG-4 video",
"MPEG-4 video",
"MPEG-4 video",
/* AVI */
"AVI video",
/* Quicktime */
/* "QuickTime video", */
/* "QuickTime video", */
/* OGG */
"Ogg stream",
"Ogg video",
"Ogg stream",
/* VLC */
"VLC plug-in",
......@@ -49,6 +53,8 @@ resource 'STR#' (127)
"Windows Media video",
"Windows Media plug-in",
"Windows Media video",
"Windows Media video",
"Windows Media audio",
/* Google VLC */
"Google VLC plug-in",
/* WAV audio */
......@@ -68,6 +74,19 @@ resource 'STR#' (127)
/* MkV */
"MKV video",
"MKV audio",
/* XSPF */
"XSPF playlist",
/* M3U */
"M3U playlist",
/* Webm */
"Webm video",
"Webm audio",
/* Real Media */
"Real Media",
"Readl Audio",
/* AMR */
"AMR audio",
};
};
......@@ -83,16 +102,20 @@ resource 'STR#' (128,"MIME Type")
"video/mpeg-system", "mpg,mpeg,vob",
"video/x-mpeg-system", "mpg,mpeg,vob",
/* MPEG-4 */
"video/mp4", "mp4,mpg4",
"audio/mp4", "mp4,mpg4",
"audio/x-m4a", "m4a"
/* MPEG-4 */
"video/mp4", "mp4,mpg4",
"application/mpeg4-iod", "mp4,mpg4",
"application/mpeg4-muxcodetable", "mp4,mpg4",
"video/x-m4v", "m4v",
/* AVI */
"video/x-msvideo", "avi",
/* Quicktime */
/* "video/quicktime", "mov,qt", */
/* "video/quicktime", "mov,qt", */
/* OGG */
"application/ogg", "ogg",
"video/ogg", "ogv",
"application/x-ogg", "ogg",
/* VLC */
"application/x-vlc-plugin", "vlc",
......@@ -101,6 +124,8 @@ resource 'STR#' (128,"MIME Type")
"video/x-ms-asf", "asf,asx",
"application/x-mplayer2", "",
"video/x-ms-wmv", "wmv",
"video/x-ms-wvx", "wvx",
"video/x-ms-wma", "wma",
/* Google VLC */
"video/x-google-vlc-plugin", "",
/* WAV audio */
......@@ -122,6 +147,16 @@ resource 'STR#' (128,"MIME Type")
"audio/x-matroska", "mka",
/* XSPF */
"application/xspf+xml", "xspf",
/* M3U */
"audio/x-mpegurl", "m3u",
/* Webm */
"video/webm", "webm",
"audio/webm", "webm",
/* Real Media */
"application/vnd.rn-realmedia", "rm",
"audio/x-realaudio", "ra",
/* AMR */
"audio/amr", "amr",
};
};
......
......@@ -28,7 +28,7 @@ char * NPP_GetMIMEDescription( void );
NPError NPP_Initialize( void );
#ifdef OJI
#ifdef OJI
jref NPP_GetJavaClass( void );
#endif
void NPP_Shutdown( void );
......@@ -87,21 +87,22 @@ static char mimetype[] =
"video/x-mpeg:mpg,mpeg,mpe:MPEG video;"
"video/mpeg-system:mpg,mpeg,mpe,vob:MPEG video;"
"video/x-mpeg-system:mpg,mpeg,mpe,vob:MPEG video;"
/* M3U */
"audio/x-mpegurl:m3u:MPEG audio;"
/* MPEG-4 */
"video/mp4:mp4,mpg4:MPEG-4 video;"
"audio/mp4:mp4,mpg4:MPEG-4 audio;"
"audio/mp4:aac,mp4,mpg4:MPEG-4 audio;"
"audio/x-m4a:m4a:MPEG-4 audio;"
/* MPEG-4 ASP */
"video/mp4:mp4,mpg4:MPEG-4 video;"
"application/mpeg4-iod:mp4,mpg4:MPEG-4 video;"
"application/mpeg4-muxcodetable:mp4,mpg4:MPEG-4 video;"
"video/x-m4v:m4v:MPEG-4 video;"
/* AVI */
"video/x-msvideo:avi:AVI video;"
/* QuickTime */
"video/quicktime:mov,qt:QuickTime video;"
/* "video/quicktime:mov,qt:QuickTime video;" */
/* OGG */
"application/x-ogg:ogg:Ogg stream;"
"application/ogg:ogg:Ogg stream;"
"video/ogg:ogv:Ogg video;"
"application/x-ogg:ogg:Ogg stream;"
/* VLC */
"application/x-vlc-plugin:vlc:VLC plug-in;"
/* Windows Media */
......@@ -132,12 +133,17 @@ static char mimetype[] =
"audio/x-matroska:mka:Matroska audio;"
/* XSPF */
"application/xspf+xml:xspf:Playlist xspf;"
/* M3U */
"audio/x-mpegurl:m3u:MPEG audio;"
/* Webm */
"video/webm:webm:WebM video;"
"audio/webm:webm:WebM audio;"
/* Real Media */
"application/vnd.rn-realmedia:rm:Real Media File;"
"audio/x-realaudio:ra:Real Media Audio;";
"audio/x-realaudio:ra:Real Media Audio;"
/* AMR */
"audio/amr:amr:AMR audio;"
;
#endif
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment