[Webkit-unassigned] [Bug 179690] New: [MSE] Use correct range end checks in sourceBufferPrivateDidReceiveSample()

bugzilla-daemon at webkit.org bugzilla-daemon at webkit.org
Tue Nov 14 13:28:21 PST 2017


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

            Bug ID: 179690
           Summary: [MSE] Use correct range end checks in
                    sourceBufferPrivateDidReceiveSample()
           Product: WebKit
           Version: WebKit Nightly Build
          Hardware: Unspecified
                OS: Unspecified
            Status: NEW
          Severity: Normal
          Priority: P2
         Component: Media Elements
          Assignee: webkit-unassigned at lists.webkit.org
          Reporter: aboya at igalia.com

The Coded Frame Processing algorithm as defined in
https://www.w3.org/TR/media-source/#sourcebuffer-coded-frame-processing states:

1.14. Remove existing coded frames in track buffer:
 -> If highest end timestamp for track buffer is not set:
       [...]
 -> If highest end timestamp for track buffer is set and less than or 
    equal to presentation timestamp:
       Remove all coded frames from track buffer that have a 
       presentation timestamp greater than or equal to highest end 
       timestamp and less than frame end timestamp.

Note the removal range is closed-open [a, b). WebKit is actually removing
frames using an open-closed range (a, b], which causes frames not to be removed
in situations where they should and frames to be removed in situations when
they should not.

-- 
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/20171114/28233db2/attachment.html>


More information about the webkit-unassigned mailing list