firefox-esr68/iceape-2.11-gstreamer-h264-avc1.42001E.patch
2012-09-04 11:53:20 -04:00

25 lines
1.3 KiB
Diff

diff -p -up comm-beta/mozilla/content/html/content/public/nsHTMLMediaElement.h.h.264-youtube comm-beta/mozilla/content/html/content/public/nsHTMLMediaElement.h
--- comm-beta/mozilla/content/html/content/public/nsHTMLMediaElement.h.h.264-youtube 2012-07-22 21:37:36.666532783 +0200
+++ comm-beta/mozilla/content/html/content/public/nsHTMLMediaElement.h 2012-07-22 21:38:35.283979047 +0200
@@ -298,7 +298,7 @@ public:
static bool IsH264Enabled();
static bool IsH264Type(const nsACString& aType);
static const char gH264Types[3][17];
- static char const *const gH264Codecs[6];
+ static char const *const gH264Codecs[7];
#endif
#ifdef MOZ_MEDIA_PLUGINS
diff -p -up comm-beta/mozilla/content/html/content/src/nsHTMLMediaElement.cpp.h.264-youtube comm-beta/mozilla/content/html/content/src/nsHTMLMediaElement.cpp
--- comm-beta/mozilla/content/html/content/src/nsHTMLMediaElement.cpp.h.264-youtube 2012-07-21 19:53:31.000000000 +0200
+++ comm-beta/mozilla/content/html/content/src/nsHTMLMediaElement.cpp 2012-07-22 21:16:21.149558191 +0200
@@ -2083,7 +2083,8 @@ const char nsHTMLMediaElement::gH264Type
"video/quicktime",
};
-char const *const nsHTMLMediaElement::gH264Codecs[6] = {
+char const *const nsHTMLMediaElement::gH264Codecs[7] = {
+ "avc1.42001E",
"avc1.42E01E",
"avc1.58A01E",
"avc1.4D401E",