[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:06:56 PDT 2021


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

--- Comment #4 from Toshio Ogasawara <toshio.ogasawara at access-company.com> ---
>Then this while loop can look identical to the while loop above.

In the first while loop of evictCodedFrame, there is a process to add thirtySeconds to rangeStart and rangeEnd.
Even if this process is repeated, rangeStart will not be larger than maximumRangeEnd before rangeEnd.
Therefore, the removable MediaSamples in the range from rangeStart to maximumRangeEnd is removed.

I think it is correct to compare the end of the range(rangeEnd) when processing in descending order, and the start of the range(startRange) when processing in ascending order.

-- 
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/968649f9/attachment-0001.htm>


More information about the webkit-unassigned mailing list