Index: content/renderer/media/crypto/proxy_media_keys.cc |
diff --git a/content/renderer/media/crypto/proxy_media_keys.cc b/content/renderer/media/crypto/proxy_media_keys.cc |
index 68a68b3bc370f6ca5d00f759da469ad6172fcb20..f8f067a3951d9240da9910c80201fb7499121356 100644 |
--- a/content/renderer/media/crypto/proxy_media_keys.cc |
+++ b/content/renderer/media/crypto/proxy_media_keys.cc |
@@ -57,9 +57,13 @@ void ProxyMediaKeys::CreateSession( |
// TODO(xhwang): Move these checks up to blink and DCHECK here. |
// See http://crbug.com/342510 |
CdmHostMsg_CreateSession_ContentType create_session_content_type; |
- if (init_data_type == "audio/mp4" || init_data_type == "video/mp4") { |
+ if (init_data_type == "audio/mp4" || |
ddorwin
2014/08/13 20:59:54
After we transition unprefixed, these will only be
sandersd (OOO until July 31)
2014/08/13 21:36:19
Done.
|
+ init_data_type == "video/mp4" || |
+ init_data_type == "cenc") { |
create_session_content_type = CREATE_SESSION_TYPE_MP4; |
- } else if (init_data_type == "audio/webm" || init_data_type == "video/webm") { |
+ } else if (init_data_type == "audio/webm" || |
+ init_data_type == "video/webm" || |
+ init_data_type == "webm") { |
create_session_content_type = CREATE_SESSION_TYPE_WEBM; |
} else { |
DLOG(ERROR) << "Unsupported EME CreateSession content type of " |