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

Unified Diff: media/formats/mp4/fourccs.h

Issue 812643005: Re-add AC3/EAC3 audio demuxing support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Code cleanup Created 5 years, 11 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/formats/mp4/fourccs.h
diff --git a/media/formats/mp4/fourccs.h b/media/formats/mp4/fourccs.h
index d9086fa8d743047d615a19dd2df8521991384c53..3b426b20127070fc031f2210fdee91cff83b0dc9 100644
--- a/media/formats/mp4/fourccs.h
+++ b/media/formats/mp4/fourccs.h
@@ -12,6 +12,15 @@ namespace mp4 {
enum FourCC {
FOURCC_NULL = 0,
+#if defined(ENABLE_AC3_EAC3_AUDIO_DEMUXING)
+ // AC3 fourcc codes
+ FOURCC_A52 = 0x61353220, // "a52 " AC3 is also known as A52
+ FOURCC_AC3 = 0x61633320, // "ac3 "
+ FOURCC_AC_3 = 0x61632d33, // "ac-3"
+ // EAC3 fourcc codes
+ FOURCC_A52b = 0x61353262, // "a52b"
+ FOURCC_EAC3 = 0x65632d33, // "ec-3"
+#endif
FOURCC_AVC1 = 0x61766331,
FOURCC_AVC3 = 0x61766333,
FOURCC_AVCC = 0x61766343,

Powered by Google App Engine
This is Rietveld 408576698