Bug 794171 - Part 2: Add comments to GStreamer and Gonk's list of H.264 codecs. r=doublec
authorChris Peterson <cpeterson@mozilla.com>
Wed, 10 Oct 2012 18:08:42 -0700
changeset 110111 7474711c6ebdcfe970a0c02fd015d03d9644637c
parent 110110 e0fff9d291114930cb3fbf1cecfca09ca8e47e1a
child 110112 80482a232127ba263427a061c4e7c853ea5b7ac9
push id93
push usernmatsakis@mozilla.com
push dateWed, 31 Oct 2012 21:26:57 +0000
reviewersdoublec
bugs794171
milestone19.0a1
Bug 794171 - Part 2: Add comments to GStreamer and Gonk's list of H.264 codecs. r=doublec
content/html/content/src/nsHTMLMediaElement.cpp
--- a/content/html/content/src/nsHTMLMediaElement.cpp
+++ b/content/html/content/src/nsHTMLMediaElement.cpp
@@ -2130,22 +2130,22 @@ nsHTMLMediaElement::IsWebMType(const nsA
   }
 
   return false;
 }
 #endif
 
 #if defined(MOZ_GSTREAMER) || defined(MOZ_WIDGET_GONK)
 char const *const nsHTMLMediaElement::gH264Codecs[7] = {
-  "avc1.42E01E",
-  "avc1.42001E",
-  "avc1.58A01E",
-  "avc1.4D401E",
-  "avc1.64001E",
-  "mp4a.40.2",
+  "avc1.42E01E",  // H.264 Constrained Baseline Profile Level 3.0
+  "avc1.42001E",  // H.264 Baseline Profile Level 3.0
+  "avc1.58A01E",  // H.264 Extended Profile Level 3.0
+  "avc1.4D401E",  // H.264 Main Profile Level 3.0
+  "avc1.64001E",  // H.264 High Profile Level 3.0
+  "mp4a.40.2",    // AAC-LC
   nullptr
 };
 #endif
 
 #ifdef MOZ_GSTREAMER
 const char nsHTMLMediaElement::gH264Types[3][16] = {
   "video/mp4",
   "video/3gpp",