[Bug 22432] New: Allow SourceBuffer.appendBuffer to take ownership of the ArrayBuffer

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

            Bug ID: 22432
           Summary: Allow SourceBuffer.appendBuffer to take ownership of
                    the ArrayBuffer
    Classification: Unclassified
           Product: HTML WG
           Version: unspecified
          Hardware: All
                OS: All
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Media Source Extensions
          Assignee: adrianba@microsoft.com
          Reporter: kinetik@flim.org
        QA Contact: public-html-bugzilla@w3.org
                CC: mike@w3.org, public-html-media@w3.org

Require the "data" ArrayBuffer to be neutered during the append to allow the
implementation for avoid copying the data internally and prevent races where
script modifies the ArrayBuffer while it's being used internally.

Suggestion: add wording similar to that added to Web Audio's decodeAudioBuffer
method: https://dvcs.w3.org/hg/audio/rev/ef43ae5230bf

-- 
You are receiving this mail because:
You are on the CC list for the bug.

Received on Monday, 24 June 2013 02:27:59 UTC