gecko-dev/dom/media/mp4
Bryce Van Dyk 5c977fdb7d 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-14 16:33:03 +00:00
..
Atom.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
AtomType.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
Box.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
Box.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
BufferStream.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
BufferStream.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ByteStream.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
DecoderData.cpp Bug 1487416 - Handle cbcs data from mp4parse-rust. r=jya 2019-01-11 15:13:41 +00:00
DecoderData.h Bug 1513042 - Update mp4parse-rust to v0.11.2. r=jya 2018-12-12 15:04:18 +00:00
Index.cpp Bug 1487416 - Index.cpp's SampleIterator populates cbcs data. r=jya 2019-01-11 15:13:37 +00:00
Index.h Bug 1487416 - Index.cpp's SampleIterator populates cbcs data. r=jya 2019-01-11 15:13:37 +00:00
MoofParser.cpp Bug 1519617 - Update MoofParser to handle tracks using track_id 0. r=jya 2019-01-14 16:33:03 +00:00
MoofParser.h Bug 1519617 - Update MoofParser to handle tracks using track_id 0. r=jya 2019-01-14 16:33:03 +00:00
moz.build Bug 1394734 - Replace CONFIG['MSVC'] by CONFIG['CC_TYPE'] r=glandium 2017-12-08 13:46:13 +01:00
MP4Decoder.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MP4Decoder.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MP4Demuxer.cpp Bug 1487416 - Index.cpp's SampleIterator populates cbcs data. r=jya 2019-01-11 15:13:37 +00:00
MP4Demuxer.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MP4Interval.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
MP4Metadata.cpp Bug 1487416 - Handle cbcs data from mp4parse-rust. r=jya 2019-01-11 15:13:41 +00:00
MP4Metadata.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ResourceStream.cpp Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
ResourceStream.h Bug 1204606 - Reformat of dom/media r=jya 2018-11-19 13:25:37 +00:00
SinfParser.cpp Bug 1487416 - Read pattern information in Sinf parser. r=jya 2019-01-11 15:11:05 +00:00
SinfParser.h Bug 1487416 - Read pattern information in Sinf parser. r=jya 2019-01-11 15:11:05 +00:00