gecko-dev/dom/media/gtest
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
..
mp4_demuxer Bug 1515471 - Add gtest for mp4 sample description entry lookup. r=jya 2019-01-04 17:57:18 +00:00
Cargo.toml
dash_dashinit.mp4
GMPTestMonitor.h Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
hello.rs
id3v2header.mp3
MockMediaDecoderOwner.h Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
MockMediaResource.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
MockMediaResource.h Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
moz.build Bug 1425277 - p8: add gtest cases for media encoder. r=jya 2018-11-26 18:29:26 +00:00
negative_duration.mp4
noise_vbr.mp3
noise.mp3
short-zero-in-moov.mp4
short-zero-inband.mov
small-shot-false-positive.mp3
small-shot-partial-xing.mp3
small-shot.mp3
test_case_1224361.vp8.ivf
test_case_1224363.vp8.ivf
test_case_1224369.vp8.ivf
test.webm
TestAudioBuffers.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestAudioCompactor.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestAudioDeviceEnumerator.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestAudioMixer.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestAudioPacketizer.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestAudioSegment.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestAudioTrackEncoder.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestBitWriter.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestBlankVideoDataCreator.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestCDMStorage.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestDataMutex.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestGMPCrossOrigin.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestGMPRemoveAndDelete.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestGMPUtils.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestIntervalSet.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestMediaDataDecoder.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestMediaDataEncoder.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestMediaEventSource.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestMediaMIMETypes.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestMP3Demuxer.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestMP4Demuxer.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
TestOpusParser.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestRust.cpp
TestTimeUnit.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestVideoSegment.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestVideoTrackEncoder.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestVideoUtils.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestVPXDecoding.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestWebMBuffered.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
TestWebMWriter.cpp Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00