]> git.pld-linux.org Git - packages/chromium-browser.git/blob - chromium-browser-html5-video-mimetypes.patch
- up to 5.0.388.0, r45553 (note: current linux dev channel is 5.0.375.191)
[packages/chromium-browser.git] / chromium-browser-html5-video-mimetypes.patch
1 ---
2  net/base/mime_util.cc |    4 ----
3  1 file changed, 4 deletions(-)
4
5 Index: src/net/base/mime_util.cc
6 ===================================================================
7 --- src.orig/net/base/mime_util.cc
8 +++ src/net/base/mime_util.cc
9 @@ -183,39 +183,35 @@
10  // A list of media types: http://en.wikipedia.org/wiki/Internet_media_type
11  // A comprehensive mime type list: http://plugindoc.mozdev.org/winmime.php
12  static const char* const supported_media_types[] = {
13    // Ogg.
14    "video/ogg",
15    "audio/ogg",
16    "application/ogg",
17  
18 -#if defined(GOOGLE_CHROME_BUILD)
19    // MPEG-4.
20    "video/mp4",
21    "video/x-m4v",
22    "audio/mp4",
23    "audio/x-m4a",
24  
25    // MP3.
26    "audio/mp3",
27    "audio/x-mp3",
28    "audio/mpeg",
29 -#endif
30  };
31  
32  // List of supported codecs when passed in with <source type="...">.
33  //
34  // Refer to http://wiki.whatwg.org/wiki/Video_type_parameters#Browser_Support
35  // for more information.
36  static const char* const supported_media_codecs[] = {
37 -#if defined(GOOGLE_CHROME_BUILD)
38    "avc1",
39    "mp4a",
40 -#endif
41    "theora",
42    "vorbis",
43  };
44  
45  // Note: does not include javascript types list (see supported_javascript_types)
46  static const char* const supported_non_image_types[] = {
47    "text/html",
48    "text/xml",
This page took 0.026611 seconds and 3 git commands to generate.