WebKit Bugzilla
New
Browse
Search+
Log In
×
Sign in with GitHub
or
Remember my login
Create Account
·
Forgot Password
Forgotten password account recovery
RESOLVED FIXED
267350
[MSE] Reset extra memory cost inside removedFromMediaSource()
https://bugs.webkit.org/show_bug.cgi?id=267350
Summary
[MSE] Reset extra memory cost inside removedFromMediaSource()
Enrique Ocaña
Reported
2024-01-10 10:40:30 PST
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
Comment 1
2024-01-10 10:53:58 PST
Pull request:
https://github.com/WebKit/WebKit/pull/22602
EWS
Comment 2
2024-01-11 02:11:42 PST
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
Comment 3
2024-01-11 02:12:15 PST
<
rdar://problem/120834879
>
Note
You need to
log in
before you can comment on or make changes to this bug.
Top of Page
Format For Printing
XML
Clone This Bug