[Webkit-unassigned] [Bug 177884] SourceBuffer remove throws out way more content than requested

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Wed Oct 4 12:01:48 PDT 2017


--- Comment #4 from Jer Noble <jer.noble at apple.com> ---
But please note, because you're comparing floating point numbers to rational integer numbers, there will always be the potential for rounding errors. While "double 10.0" can accurately represent "122880/12288", the same isn't necessarily true of "10.041667" and "123392/12288".  So in general, you should probably target the middle of the last to-be-removed frame, not the exact start of the first to-remain frame.

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/20171004/7b5961a4/attachment.html>

More information about the webkit-unassigned mailing list