зеркало из https://github.com/mozilla/gecko-dev.git
Backed out changeset ca2c0a7b3b3b (bug 1189138
) for causing timeouts in test_BufferingWait_mp4.html on a CLOSED TREE
This commit is contained in:
Родитель
77aabfc80f
Коммит
fbe5e8ab67
|
@ -1516,12 +1516,6 @@ TrackBuffersManager::InsertFrames(TrackBuffer& aSamples,
|
|||
CheckNextInsertionIndex(aTrackData,
|
||||
TimeUnit::FromMicroseconds(aSamples[0]->mTime));
|
||||
|
||||
// Adjust our demuxing index if necessary.
|
||||
if (trackBuffer.mNextGetSampleIndex.isSome() &&
|
||||
trackBuffer.mNextInsertionIndex.ref() <= trackBuffer.mNextGetSampleIndex.ref()) {
|
||||
trackBuffer.mNextGetSampleIndex.ref() += aSamples.Length();
|
||||
}
|
||||
|
||||
TrackBuffer& data = trackBuffer.mBuffers.LastElement();
|
||||
data.InsertElementsAt(trackBuffer.mNextInsertionIndex.ref(), aSamples);
|
||||
trackBuffer.mNextInsertionIndex.ref() += aSamples.Length();
|
||||
|
|
Загрузка…
Ссылка в новой задаче