gecko-dev/dom/media/mediasource
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
..
gtest Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
test Bug 1499096 - Update tests using ok() to is();r=Standard8 2018-10-23 07:12:23 +00:00
AsyncEventRunner.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ContainerParser.cpp Bug 1519617 - Update MoofParser to handle tracks using track_id 0. r=jya 2019-01-16 11:45:42 +00:00
ContainerParser.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MediaSource.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MediaSource.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MediaSourceDecoder.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MediaSourceDecoder.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MediaSourceDemuxer.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MediaSourceDemuxer.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MediaSourceUtils.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MediaSourceUtils.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
moz.build Bug 1409664 - P9. Remove AutoTaskQueue and its use r=bryce 2018-07-03 11:45:19 -07:00
ResourceQueue.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ResourceQueue.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
SourceBuffer.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
SourceBuffer.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
SourceBufferAttributes.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
SourceBufferList.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
SourceBufferList.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
SourceBufferResource.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
SourceBufferResource.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
SourceBufferTask.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
TrackBuffersManager.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
TrackBuffersManager.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00