summaryrefslogtreecommitdiffstats
path: root/extra/chromium/ffmpeg_branding_mime.patch
diff options
context:
space:
mode:
Diffstat (limited to 'extra/chromium/ffmpeg_branding_mime.patch')
-rw-r--r--extra/chromium/ffmpeg_branding_mime.patch29
1 files changed, 29 insertions, 0 deletions
diff --git a/extra/chromium/ffmpeg_branding_mime.patch b/extra/chromium/ffmpeg_branding_mime.patch
new file mode 100644
index 000000000..083026e76
--- /dev/null
+++ b/extra/chromium/ffmpeg_branding_mime.patch
@@ -0,0 +1,29 @@
+--- src/net/base/mime_util.cc 2010-02-11 20:07:33.939537145 +0100
++++ src/net/base/mime_util.cc 2010-02-11 20:07:33.955373468 +0100
+@@ -188,7 +188,6 @@
+ "audio/ogg",
+ "application/ogg",
+
+-#if defined(GOOGLE_CHROME_BUILD)
+ // MPEG-4.
+ "video/mp4",
+ "video/x-m4v",
+@@ -199,7 +198,6 @@
+ "audio/mp3",
+ "audio/x-mp3",
+ "audio/mpeg",
+-#endif
+ };
+
+ // List of supported codecs when passed in with <source type="...">.
+@@ -207,10 +205,8 @@
+ // 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",
+ };