summaryrefslogtreecommitdiffstats
path: root/net/base/mime_util.cc
diff options
context:
space:
mode:
authorscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 00:01:07 +0000
committerscherkus@chromium.org <scherkus@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-08-17 00:01:07 +0000
commitac980a7688536e1515ad2df17f54b2eddc02d02c (patch)
tree0824e0474591f0c2dc99b0f5d2ff1dc0959975cc /net/base/mime_util.cc
parent195266b9bc120ccec02b8a027c6f204aa21dde50 (diff)
downloadchromium_src-ac980a7688536e1515ad2df17f54b2eddc02d02c.zip
chromium_src-ac980a7688536e1515ad2df17f54b2eddc02d02c.tar.gz
chromium_src-ac980a7688536e1515ad2df17f54b2eddc02d02c.tar.bz2
Add link to RFC2361 for WAV codecs as I always have a hard time finding said spec.
Review URL: http://codereview.chromium.org/7658020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@97061 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/mime_util.cc')
-rw-r--r--net/base/mime_util.cc5
1 files changed, 4 insertions, 1 deletions
diff --git a/net/base/mime_util.cc b/net/base/mime_util.cc
index 4dad7ad..60dd125 100644
--- a/net/base/mime_util.cc
+++ b/net/base/mime_util.cc
@@ -258,6 +258,9 @@ static const char* const supported_media_types[] = {
//
// Refer to http://wiki.whatwg.org/wiki/Video_type_parameters#Browser_Support
// for more information.
+//
+// The codecs for WAV are integers as defined in Appendix A of RFC2361:
+// http://tools.ietf.org/html/rfc2361
static const char* const supported_media_codecs[] = {
#if defined(GOOGLE_CHROME_BUILD) || defined(USE_PROPRIETARY_CODECS)
"avc1",
@@ -268,7 +271,7 @@ static const char* const supported_media_codecs[] = {
#endif
"vorbis",
"vp8",
- "1" // PCM for WAV.
+ "1" // WAVE_FORMAT_PCM.
};
// Note: does not include javascript types list (see supported_javascript_types)