summaryrefslogtreecommitdiff
path: root/www/firefox/files/patch-bug806139
blob: e4bd1ba30ce107e940edfa80ac593407a7d8eb9a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
--- content/html/content/public/nsHTMLMediaElement.h~
+++ content/html/content/public/nsHTMLMediaElement.h
@@ -311,7 +311,7 @@ public:
   static bool IsH264Enabled();
   static bool IsH264Type(const nsACString& aType);
   static const char gH264Types[3][16];
-  static char const *const gH264Codecs[7];
+  static char const *const gH264Codecs[9];
 #endif
 
 #ifdef MOZ_MEDIA_PLUGINS
--- content/html/content/src/nsHTMLMediaElement.cpp~
+++ content/html/content/src/nsHTMLMediaElement.cpp
@@ -2135,12 +2135,14 @@ nsHTMLMediaElement::IsWebMType(const nsA
 #endif
 
 #if defined(MOZ_GSTREAMER) || defined(MOZ_WIDGET_GONK)
-char const *const nsHTMLMediaElement::gH264Codecs[7] = {
+char const *const nsHTMLMediaElement::gH264Codecs[9] = {
   "avc1.42E01E",
   "avc1.42001E",
   "avc1.58A01E",
   "avc1.4D401E",
   "avc1.64001E",
+  "avc1.64001F",
+  "mp4v.20.3",
   "mp4a.40.2",
   nullptr
 };