From d95749da88cf2c17c037323913a34077bc960a3d Mon Sep 17 00:00:00 2001 From: Sibelle Date: Fri, 14 May 2010 19:03:59 +0200 Subject: Maj de chromium#6.0.404.0-1 --- .../chromium/chromium-html5-video-mimetypes.patch | 48 ++++++++++++++++++++++ 1 file changed, 48 insertions(+) create mode 100644 extra/chromium/chromium-html5-video-mimetypes.patch (limited to 'extra/chromium/chromium-html5-video-mimetypes.patch') diff --git a/extra/chromium/chromium-html5-video-mimetypes.patch b/extra/chromium/chromium-html5-video-mimetypes.patch new file mode 100644 index 000000000..f4e534a16 --- /dev/null +++ b/extra/chromium/chromium-html5-video-mimetypes.patch @@ -0,0 +1,48 @@ +--- + net/base/mime_util.cc | 4 ---- + 1 file changed, 4 deletions(-) + +Index: src/net/base/mime_util.cc +=================================================================== +--- src.orig/net/base/mime_util.cc ++++ src/net/base/mime_util.cc +@@ -183,39 +183,35 @@ + // A list of media types: http://en.wikipedia.org/wiki/Internet_media_type + // A comprehensive mime type list: http://plugindoc.mozdev.org/winmime.php + static const char* const supported_media_types[] = { + // Ogg. + "video/ogg", + "audio/ogg", + "application/ogg", + +-#if defined(GOOGLE_CHROME_BUILD) + // MPEG-4. + "video/mp4", + "video/x-m4v", + "audio/mp4", + "audio/x-m4a", + + // MP3. + "audio/mp3", + "audio/x-mp3", + "audio/mpeg", +-#endif + }; + + // List of supported codecs when passed in with . + // + // Refer to http://wiki.whatwg.org/wiki/Video_type_parameters#Browser_Support + // for more information. + static const char* const supported_media_codecs[] = { +-#if defined(GOOGLE_CHROME_BUILD) + "avc1", + "mp4a", +-#endif + "theora", + "vorbis", + }; + + // Note: does not include javascript types list (see supported_javascript_types) + static const char* const supported_non_image_types[] = { + "text/html", + "text/xml", -- cgit v1.2.3-70-g09d2