Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1224)

Unified Diff: media/mp4/es_descriptor.cc

Issue 14641006: Support EAC3 (Dolby Digital Plus) codec (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Addressed Aaron's comments Created 7 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: media/mp4/es_descriptor.cc
diff --git a/media/mp4/es_descriptor.cc b/media/mp4/es_descriptor.cc
index f9480ddbed7137cef2a750c37d71f4be8d0dde3f..8517b82cbdad6c5cc0b31f9df85fe839cbee1d45 100644
--- a/media/mp4/es_descriptor.cc
+++ b/media/mp4/es_descriptor.cc
@@ -31,6 +31,11 @@ namespace media {
namespace mp4 {
+// static
+bool ESDescriptor::IsAAC(uint8 object_type) {
+ return object_type == kISO_14496_3 || object_type == kISO_13818_7_AAC_LC;
+}
+
ESDescriptor::ESDescriptor()
: object_type_(kForbidden) {
}
« no previous file with comments | « media/mp4/es_descriptor.h ('k') | media/mp4/fourccs.h » ('j') | media/mp4/mp4_stream_parser.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698