mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 1108846 notify MediaSourceDecoder of bytes downloaded to trigger progress events r=kinetik
--HG-- extra : rebase_source : d13f3a9c46cce745cffc86a179875f34e7a52428
This commit is contained in:
parent
e024d3ec2b
commit
97a59cd4b8
@ -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.
|
// XXX: For future reference: NDA call must run on the main thread.
|
||||||
mCurrentDecoder->NotifyDataArrived(reinterpret_cast<const char*>(aData),
|
mCurrentDecoder->NotifyDataArrived(reinterpret_cast<const char*>(aData),
|
||||||
aLength, appendOffset);
|
aLength, appendOffset);
|
||||||
|
mParentDecoder->NotifyBytesDownloaded();
|
||||||
mParentDecoder->NotifyTimeRangesChanged();
|
mParentDecoder->NotifyTimeRangesChanged();
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
|
Loading…
Reference in New Issue
Block a user