Descriptionmedia: Pass CdmContext in decoder reinitialization
Fix DecoderStream::ReinitializeDecoder to always pass in the CdmContext.
Also added unittests to cover the case where neither DecryptionVideoDecoder nor
DecryptingDemuxerStream is selected for encrypted config, but another
VideoDecoder that supports encrypted config is selected, initialized, and
reinitialized. In practice, this could be the case when the CDM doesn't support
the Decryptor interface, e.g. MediaDrmBridge on Android.
BUG=679095
Review-Url: https://codereview.chromium.org/2650823006
Cr-Commit-Position: refs/heads/master@{#446190}
Committed: https://chromium.googlesource.com/chromium/src/+/95f1b49f981dd91d79c08d52481103f669db55f0
Patch Set 1 #
Messages
Total messages: 12 (8 generated)
|