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

Unified Diff: media/base/eme_constants.h

Issue 1624703002: Implement support for vp9 in ISO-BMFF (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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/base/eme_constants.h
diff --git a/media/base/eme_constants.h b/media/base/eme_constants.h
index ba49c7d6a72d9e3307f64449ee37d4821550ce00..1d973d202d3f62f943095f823763a8835f9840ee 100644
--- a/media/base/eme_constants.h
+++ b/media/base/eme_constants.h
@@ -44,7 +44,10 @@ enum EmeCodec {
EME_CODEC_MP4_AAC = 1 << 4,
EME_CODEC_MP4_AUDIO_ALL = EME_CODEC_MP4_AAC,
EME_CODEC_MP4_AVC1 = 1 << 5,
- EME_CODEC_MP4_VIDEO_ALL = EME_CODEC_MP4_AVC1,
+ EME_CODEC_MP4_VP8 = 1 << 6,
ddorwin 2016/01/27 01:39:14 Is this actually going to be used? If not or we do
kqyang 2016/01/29 00:34:16 I don't know, but why not, it does not require a l
+ EME_CODEC_MP4_VP9 = 1 << 7,
ddorwin 2016/01/27 01:39:14 Do we need separate codec enums? I know these are
ddorwin 2016/01/27 03:17:09 Of course, we also rely on this difference here: h
ddorwin 2016/01/27 06:42:56 Specifically, we can address the Android case by a
xhwang 2016/02/01 17:59:37 Currently the mojo work is focusing mainly on the
+ EME_CODEC_MP4_VIDEO_ALL =
ddorwin 2016/01/27 01:39:14 Not all platforms that support MP4 necessarily sup
kqyang 2016/01/29 00:34:16 Aren't these _ALL values just a list of all possib
ddorwin 2016/02/24 22:44:32 Yes, those specific examples are fine, but that co
+ (EME_CODEC_MP4_AVC1 | EME_CODEC_MP4_VP8 | EME_CODEC_MP4_VP9),
EME_CODEC_MP4_ALL = (EME_CODEC_MP4_AUDIO_ALL | EME_CODEC_MP4_VIDEO_ALL),
EME_CODEC_AUDIO_ALL = (EME_CODEC_WEBM_AUDIO_ALL | EME_CODEC_MP4_AUDIO_ALL),
EME_CODEC_VIDEO_ALL = (EME_CODEC_WEBM_VIDEO_ALL | EME_CODEC_MP4_VIDEO_ALL),

Powered by Google App Engine
This is Rietveld 408576698