зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1158916 - Revert change to NotifyDataArrived. r=me
This commit is contained in:
Родитель
102fa57f25
Коммит
67746258d9
|
@ -1648,6 +1648,10 @@ void MediaDecoder::NotifyDataArrived(const char* aBuffer, uint32_t aLength, int6
|
|||
if (mDecoderStateMachine) {
|
||||
mDecoderStateMachine->NotifyDataArrived(aBuffer, aLength, aOffset);
|
||||
}
|
||||
|
||||
// ReadyState computation depends on MediaDecoder::CanPlayThrough, which
|
||||
// depends on the download rate.
|
||||
mReadyStateWatchTarget->Notify();
|
||||
}
|
||||
|
||||
// Provide access to the state machine object
|
||||
|
|
Загрузка…
Ссылка в новой задаче