DescriptionCheck for duplicate id strings in ChunkDemuxer::AddId()
WebKit's MediaSource object keeps a private member variable, int m_nextSourceBufferId, for adding source ids since ids are no longer part of the spec. It is possible that this int could wrap around if several source buffers are added. To ensure this doesn't cause problems, ChunkDemuxer::AddId() should check the id string to make sure it is not a duplicate and, if so, throw a ReachedIdLimit error.
BUG=140861
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150459
Patch Set 1 #
Messages
Total messages: 10 (0 generated)
|