gecko-dev/dom/media/gtest
Bryce Van Dyk 279e7ee239 Bug 1519617 - Update MoofParser to handle tracks using track_id 0. r=jya
Using track_id 0 is forbidden by the mp4 spec, however, some sites still serve
media using this track_id. We've been using the 0 track ID to trigger special
handling in the MoofParser where we will parse multiple tracks, and this led us
to be tolerant of tracks using this reserved id (though we likely had some bugs
due to this).

Since sites are using this track_id, and as other browsers (and Firefox until I
broke this) tolerate such media, we should too. In order to do so correctly, we
should no longer us track_id=0 as a special case in the MoofParser, and instead
have an explicit flag, which is what this patch does.

Differential Revision: https://phabricator.services.mozilla.com/D16428

--HG--
extra : moz-landing-system : lando
2019-01-16 11:45:42 +00:00
..
mp4_demuxer Bug 1519617 - Update MoofParser to handle tracks using track_id 0. r=jya 2019-01-16 11:45:42 +00:00
Cargo.toml
GMPTestMonitor.h Bug 1513205 - Also update the tests to match the Google coding style r=Ehsan 2018-12-14 18:10:35 +00:00
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
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
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-11 15:29:45 +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
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
TestVPXDecoding.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
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
dash_dashinit.mp4
hello.rs
id3v2header.mp3
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.mp3
noise_vbr.mp3
short-zero-in-moov.mp4
short-zero-inband.mov
small-shot-false-positive.mp3
small-shot-partial-xing.mp3
small-shot.mp3
test.webm
test_case_1224361.vp8.ivf
test_case_1224363.vp8.ivf
test_case_1224369.vp8.ivf