Bug 258869
| Summary: | [MSE] Reuse "fudge factor" when samples are removed | ||
|---|---|---|---|
| Product: | WebKit | Reporter: | Przemyslaw Gorszkowski <pgorszkowski> |
| Component: | New Bugs | Assignee: | Przemyslaw Gorszkowski <pgorszkowski> |
| Status: | RESOLVED FIXED | ||
| Severity: | Normal | CC: | webkit-bug-importer |
| Priority: | P2 | Keywords: | InRadar |
| Version: | WebKit Nightly Build | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
Przemyslaw Gorszkowski
Currently when TrackBuffer::removeSamples is called and erasedRanged is created from the samples, removing small gaps between samples are not done. It causes that in some cases many separated ranges are created which has impact on performance of removing samples.
It can be fixed in similar way as it is done in SourceBufferPrivate::processMediaSample when range is extended with new sample and "fudge factor" is used to eliminate the small gaps between samples.
| Attachments | ||
|---|---|---|
| Add attachment proposed patch, testcase, etc. |
Przemyslaw Gorszkowski
Pull request: https://github.com/WebKit/WebKit/pull/15690
Radar WebKit Bug Importer
<rdar://problem/112126969>
EWS
Committed 266357@main (c3bf8dd55448): <https://commits.webkit.org/266357@main>
Reviewed commits have been landed. Closing PR #15690 and removing active labels.