[Webkit-unassigned] [Bug 225800] [MSE] MediaSample that need to be removed with SourceBufferPrivate::evictCodedFrames() may not be removed.

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed May 19 02:05:21 PDT 2021


https://bugs.webkit.org/show_bug.cgi?id=225800

--- Comment #3 from Toshio Ogasawara <toshio.ogasawara at access-company.com> ---
>Comparing `rangeEnd` to `mininimumRangeStart` feels wrong here. 

I think it is correct to compare with rangeEnd.

At the end of this while loop, there is a process to subtract thirtySeconds from rangeStart and rangeEnd.
If this process is repeated, rangeStart may become less than minimumRangeStart before rangeEnd.
If rangeStart is less than minimumRangeStart and rangeEnd is greater than minimumRangeStart, this while loop will not be processed.
Therefore, removable MediaSamples in the range from minimumRangeStart to rangeEnd are not removed.

-- 
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.webkit.org/pipermail/webkit-unassigned/attachments/20210519/394c949d/attachment.htm>


More information about the webkit-unassigned mailing list