bug 1108846 notify MediaSourceDecoder of bytes downloaded to trigger progress events r=kinetik

--HG--
extra : rebase_source : d13f3a9c46cce745cffc86a179875f34e7a52428
This commit is contained in:
Karl Tomlinson 2014-12-10 10:45:06 +13:00
parent 46260ad7b6
commit a2c5292fae

View File

@ -196,6 +196,7 @@ TrackBuffer::AppendDataToCurrentResource(const uint8_t* aData, uint32_t aLength)
// XXX: For future reference: NDA call must run on the main thread.
mCurrentDecoder->NotifyDataArrived(reinterpret_cast<const char*>(aData),
aLength, appendOffset);
mParentDecoder->NotifyBytesDownloaded();
mParentDecoder->NotifyTimeRangesChanged();
return true;