gecko-dev/dom/media/platforms
Bryce Van Dyk 1a3a965df3 Bug 1487416 - Replace mValid and mMode with mCryptoScheme for track and sample crypto structs. r=jya
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
2019-01-10 18:37:48 +00:00
..
agnostic Bug 1487416 - Replace mValid and mMode with mCryptoScheme for track and sample crypto structs. r=jya 2019-01-10 18:37:48 +00:00
android Backed out 4 changesets (bug 1508434) for mda failures on test_waveShaperPassThrough.html. CLOSED TREE 2019-01-09 21:00:35 +02:00
apple Backed out 4 changesets (bug 1508434) for mda failures on test_waveShaperPassThrough.html. CLOSED TREE 2019-01-09 21:00:35 +02:00
ffmpeg Bug 1513511 - P1. Use new FFmpeg decode API with recent FFmpeg version. r=bryce 2018-12-17 17:29:13 +00:00
omx Bug 1510265 - P1. Enforce template-parameter classes restrictions in MozPromise. r=gerald 2018-12-06 16:26:01 +00:00
wmf Backed out 4 changesets (bug 1508434) for mda failures on test_waveShaperPassThrough.html. CLOSED TREE 2019-01-09 21:00:35 +02:00
wrappers Bug 1487416 - Replace mValid and mMode with mCryptoScheme for track and sample crypto structs. r=jya 2019-01-10 18:37:48 +00:00
AllocationPolicy.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AllocationPolicy.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MediaTelemetryConstants.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
moz.build Bug 1493400 - Implement platform decoder for dav1d. r=jya 2018-11-27 14:18:58 +00:00
PDMFactory.cpp Bug 1487416 - Replace mValid and mMode with mCryptoScheme for track and sample crypto structs. r=jya 2019-01-10 18:37:48 +00:00
PDMFactory.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
PEMFactory.cpp Bug 1425277 - p7: add apple encoder module and factory. r=jya 2018-11-26 18:29:08 +00:00
PEMFactory.h Bug 1425277 - p7: add apple encoder module and factory. r=jya 2018-11-26 18:29:08 +00:00
PlatformDecoderModule.h Backed out 4 changesets (bug 1508434) for mda failures on test_waveShaperPassThrough.html. CLOSED TREE 2019-01-09 21:00:35 +02:00
PlatformEncoderModule.h Bug 1511181 - Reformat everything to the Google coding style r=ehsan a=clang-format 2018-11-30 11:46:48 +01:00
ReorderQueue.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
SimpleMap.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00