[Bug 23553] New: Segment parser loop appears to discard Media Segment header

https://www.w3.org/Bugs/Public/show_bug.cgi?id=23553

            Bug ID: 23553
           Summary: Segment parser loop appears to discard Media Segment
                    header
           Product: HTML WG
           Version: unspecified
          Hardware: PC
                OS: All
            Status: NEW
          Severity: minor
          Priority: P2
         Component: Media Source Extensions
          Assignee: adrianba@microsoft.com
          Reporter: watsonm@netflix.com
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

Section 3.5.1, step 6, if the input buffer does contain a complete media
segment (sub-step 2) but it does not contain a complete coded frame, then the
coded frame processing algorithm is not run and at sub-step 4 the media segment
bytes (containing the header) are removed.

A possible fix would be to jump after sub-step 3 to the 'Need more data' step
if the entire media segment is not in the input buffer. The media segment data
is then not discarded (and step 6 is not executed) until the entire segment is
received.

This also obviates the need for the NOTE about incremental parsers.

-- 
You are receiving this mail because:
You are the QA Contact for the bug.

Received on Thursday, 17 October 2013 19:55:54 UTC