media/extensions
olly db177db6d9 DrmSession cleanup
These changes are in part related to handling playback of mixed clear
and encrypted content, where we might want to use a secure decoder
throughout, but only have drm init data and only care about the state
of the DrmSession during playback of encrypted parts.

- requiresSecureDecoderComponent became unnecessary when we added
  ExoMediaCrypto, which provides a layer in which requiresSecureDecoderComponent
  can be overridden.
- Relaxed requirements for obtaining the MediaCrypto. It's helpful
  to allow retrieval in the error state, since it can be used to
  instantiate a decoder and play clear samples.
- Deferred throwing of errors in renderer implementations. As long as
  we can get a MediaCrypto, we should init the codec. We can also
  play clear samples without failing if playClearSamplesWithoutKeys is
  true, regardless of the errors state.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=160536365
2017-06-30 16:42:01 +01:00
..
cronet Update READMEs with new local build instructions 2017-06-28 22:26:05 +01:00
ffmpeg Update READMEs with new local build instructions 2017-06-28 22:26:05 +01:00
flac Update READMEs with new local build instructions 2017-06-28 22:26:05 +01:00
gvr Update READMEs with new local build instructions 2017-06-28 22:26:05 +01:00
ima Switch the IMA extension to use in-period ads 2017-06-30 16:35:14 +01:00
okhttp Update READMEs with new local build instructions 2017-06-28 22:26:05 +01:00
opus Update READMEs with new local build instructions 2017-06-28 22:26:05 +01:00
vp9 DrmSession cleanup 2017-06-30 16:42:01 +01:00