Pass EncryptionScheme and Pattern to CDM
Update the CDM interface to provide information on the encryption scheme
and pattern necessary to decode the encrypted media. Currently only 'cenc'
decryption is supported. Detection (and support) of other schemes will be
done later.
Note that only CDMs that implement the ContentDecryptionModule_10 interface
will be able to use this information. CDMs that implement a previous version
of the interface will not get this information, so only 'cenc' encrypted
(or unencrypted) data will be passed to those CDMs.
BUG=658026
TEST=existing EME browser_tests pass
Change-Id: I14d7d1a44f0d7ff721dab7d6046a29a65055b3a4
Reviewed-on: https://chromium-review.googlesource.com/933730
Commit-Queue: John Rummell <[email protected]>
Reviewed-by: Xiaohan Wang <[email protected]>
Cr-Commit-Position: refs/heads/master@{#540985}
diff --git a/DEPS b/DEPS
index 48a4300..4110eba 100644
--- a/DEPS
+++ b/DEPS
@@ -256,7 +256,7 @@
},
'src/media/cdm/api':
- Var('chromium_git') + '/chromium/cdm.git' + '@' + '1a21842c5f6e1c4055f9f3c76c3526b66e565df5',
+ Var('chromium_git') + '/chromium/cdm.git' + '@' + 'cc347b850c11ea791837d5c70b12421fd77a3731',
'src/native_client': {
'url': Var('chromium_git') + '/native_client/src/native_client.git' + '@' + Var('nacl_revision'),