mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-19 08:15:31 +00:00
5c977fdb7d
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 |
||
---|---|---|
.. | ||
Atom.h | ||
AtomType.h | ||
Box.cpp | ||
Box.h | ||
BufferStream.cpp | ||
BufferStream.h | ||
ByteStream.h | ||
DecoderData.cpp | ||
DecoderData.h | ||
Index.cpp | ||
Index.h | ||
MoofParser.cpp | ||
MoofParser.h | ||
moz.build | ||
MP4Decoder.cpp | ||
MP4Decoder.h | ||
MP4Demuxer.cpp | ||
MP4Demuxer.h | ||
MP4Interval.h | ||
MP4Metadata.cpp | ||
MP4Metadata.h | ||
ResourceStream.cpp | ||
ResourceStream.h | ||
SinfParser.cpp | ||
SinfParser.h |