Bug 1158916 - Revert change to NotifyDataArrived. r=me

This commit is contained in:
Bobby Holley 2015-04-28 09:21:48 -07:00
Родитель 102fa57f25
Коммит 67746258d9
1 изменённых файлов: 4 добавлений и 0 удалений

Просмотреть файл

@ -1648,6 +1648,10 @@ void MediaDecoder::NotifyDataArrived(const char* aBuffer, uint32_t aLength, int6
if (mDecoderStateMachine) { if (mDecoderStateMachine) {
mDecoderStateMachine->NotifyDataArrived(aBuffer, aLength, aOffset); 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 // Provide access to the state machine object