Bug 267350
| Summary: | [MSE] Reset extra memory cost inside removedFromMediaSource() | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Enrique Ocaña <eocanha> |
| Component: | Media | Assignee: | Enrique Ocaña <eocanha> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Enrique Ocaña
When the SourceBuffer is removed from a MediaSource, its TrackBuffers are cleared (and so is its data, which can take a good amount of memory), but the SourceBuffer still accounts for the cost of its old data, as m_extraMemoryCost isn't reset to zero.
See: https://github.com/WebPlatformForEmbedded/WPEWebKit/pull/1264
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Enrique Ocaña
Pull request: https://github.com/WebKit/WebKit/pull/22602
EWS
Committed 272908@main (4fa545a246f2): <https://commits.webkit.org/272908@main>
Reviewed commits have been landed. Closing PR #22602 and removing active labels.
Radar WebKit Bug Importer
<rdar://problem/120834879>