gecko-dev/dom/media/mediasource
alwu 3e9f43b0a2 Bug 1605699 - part2 : add an assertion to ensure we only append a valid sample. r=bryce
The sample we got from demuxer are all guaranteed to be valid because they are returned in a `SamplesHolder`, which has assertion to make sure all samples appended are valid [1].

`ProcessFrame()` might be a possible place where we incorrectly change sample from valid to invalid, because we modify sample's time and duration there. Therefore, adding an assertion to make sure all samples are still valid.

[1] https://searchfox.org/mozilla-central/source/dom/media/MediaDataDemuxer.h#103-106

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

--HG--
extra : moz-landing-system : lando
2019-12-31 01:24:23 +00:00
..
gtest
test Bug 1567949 - Add a mochitest of a MediaElement playing a MediaSource with a varying number of channels, routed to an AudioContext. r=pehrsons 2019-11-19 18:23:32 +00:00
AsyncEventRunner.h
ContainerParser.cpp Bug 1547519 - Rename NS_STRINGIFY to MOZ_STRINGIFY, move to mfbt, and unify stragglers r=glandium 2019-09-04 02:40:32 +00:00
ContainerParser.h
MediaSource.cpp Bug 1580695 - Revert bug 1533129. r=alwu,bryce 2019-10-24 22:50:35 +00:00
MediaSource.h Bug 1564466 - Remove MediaSource::{Enabled,ExperimentalEnabled}, and use [Pref] on the IDL instead. r=bzbarsky 2019-07-18 13:06:25 +00:00
MediaSourceDecoder.cpp Bug 1582518 - Replace IntervalSet.Length usages with IsEmpty where appropriate. r=dminor 2019-09-20 19:41:53 +00:00
MediaSourceDecoder.h
MediaSourceDemuxer.cpp Bug 1582518 - Replace IntervalSet.Length usages with IsEmpty where appropriate. r=dminor 2019-09-20 19:41:53 +00:00
MediaSourceDemuxer.h
MediaSourceUtils.cpp
MediaSourceUtils.h
moz.build
ResourceQueue.cpp
ResourceQueue.h
SourceBuffer.cpp Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
SourceBuffer.h
SourceBufferAttributes.h
SourceBufferList.cpp
SourceBufferList.h
SourceBufferResource.cpp Bug 1500049 - Wait for MediaCacheStreams to close properly before finishing MediaDecoder shutdown. r=bryce 2019-11-13 22:40:14 +00:00
SourceBufferResource.h Bug 1600545 - Remove useless inclusions of header files generated from IDL files in dom/ r=Ehsan 2019-12-06 09:24:56 +00:00
SourceBufferTask.h
TrackBuffersManager.cpp Bug 1605699 - part2 : add an assertion to ensure we only append a valid sample. r=bryce 2019-12-31 01:24:23 +00:00
TrackBuffersManager.h Bug 1578143 - Prevent TrackBuffersManager attempting to access buffered ranges if none exist when evicting data. r=jya 2019-09-19 15:38:40 +00:00