RESOLVED FIXED258869
[MSE] Reuse "fudge factor" when samples are removed
https://bugs.webkit.org/show_bug.cgi?id=258869
Summary [MSE] Reuse "fudge factor" when samples are removed
Przemyslaw Gorszkowski
Reported 2023-07-05 01:35:06 PDT
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
Przemyslaw Gorszkowski
Comment 1 2023-07-10 04:11:45 PDT
Radar WebKit Bug Importer
Comment 2 2023-07-12 01:36:18 PDT
EWS
Comment 3 2023-07-27 07:22:00 PDT
Committed 266357@main (c3bf8dd55448): <https://commits.webkit.org/266357@main> Reviewed commits have been landed. Closing PR #15690 and removing active labels.
Note You need to log in before you can comment on or make changes to this bug.