mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
1a3a965df3
Explicitly store the crypto scheme being used on our crypto structs to let us differentiate between cenc and cbcs data. In doing so remove mMode and replace mValid with IsEncrypted() for the following reasons: - Different modes within the existing schemes are not currently utilized by the spec of implementation. Having a mode and a scheme could lead to confusion between the two. We can return mMode if ever needed by the spec. - mValid was typically used to check if these structs contained valid crypto data or not. With only one scheme this was often shorthand for 'IsEncrypted', but with multiple schemes what is considered valid data for one may not be for another. Do away with this and just explicitly have an 'IsEncrypted'. Differential Revision: https://phabricator.services.mozilla.com/D15874 --HG-- extra : moz-landing-system : lando |
||
---|---|---|
.. | ||
agnostic | ||
android | ||
apple | ||
ffmpeg | ||
omx | ||
wmf | ||
wrappers | ||
AllocationPolicy.cpp | ||
AllocationPolicy.h | ||
MediaTelemetryConstants.h | ||
moz.build | ||
PDMFactory.cpp | ||
PDMFactory.h | ||
PEMFactory.cpp | ||
PEMFactory.h | ||
PlatformDecoderModule.h | ||
PlatformEncoderModule.h | ||
ReorderQueue.h | ||
SimpleMap.h |