зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1531241 - Ignore samples with no duration in buffered range index. r=padenot
Differential Revision: https://phabricator.services.mozilla.com/D21512 --HG-- extra : moz-landing-system : lando
This commit is contained in:
Родитель
2406133e7f
Коммит
3a64b72b50
|
@ -409,7 +409,10 @@ Index::Index(const IndiceWrapper& aIndices, ByteStream* aSource,
|
|||
if (!haveSync) {
|
||||
continue;
|
||||
}
|
||||
|
||||
if (indice.start_composition == indice.end_composition) {
|
||||
// Ignore this sample as it doesn't account for the buffered range.
|
||||
continue;
|
||||
}
|
||||
Sample sample;
|
||||
sample.mByteRange =
|
||||
MediaByteRange(indice.start_offset, indice.end_offset);
|
||||
|
|
Загрузка…
Ссылка в новой задаче