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

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: rebase Created 5 years 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 fd9779762187f3033445cb5a5d0c5110e7f0ea2d..5fdb9b5f597bb90219c579bc7daed1dc7116c780 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"
ddorwin 2016/01/04 23:22:17 "eac3" is never used? Is there a reference for the
servolk 2016/01/07 02:30:04 AFAIK, no "eac3" is never used. I've found out tha
+ FOURCC_EAC3 = 0x65632d33, // "ec-3"
ddorwin 2016/01/04 23:22:17 For consistency, this would be EAC_3.
servolk 2016/01/07 02:30:04 Done.
+#endif
FOURCC_AVC1 = 0x61766331,
FOURCC_AVC3 = 0x61766333,
FOURCC_AVCC = 0x61766343,

Powered by Google App Engine
This is Rietveld 408576698