Bug 761063 - Add avc1.42001E (used by youtube) to the list of supported h264 codecs r=doublec

This commit is contained in:
Alessandro Decina 2012-07-06 14:11:29 -07:00
parent a60df4747b
commit 09401d83ff
2 changed files with 3 additions and 2 deletions

View File

@ -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

View File

@ -2081,8 +2081,9 @@ const char nsHTMLMediaElement::gH264Types[3][17] = {
"video/quicktime",
};
char const *const nsHTMLMediaElement::gH264Codecs[6] = {
char const *const nsHTMLMediaElement::gH264Codecs[7] = {
"avc1.42E01E",
"avc1.42001E",
"avc1.58A01E",
"avc1.4D401E",
"avc1.64001E",