DescriptionFix crash caused by removing the gap at the beginning of a media segment.
Some media segments have a start time that is slightly
earlier than the timestamp of the first buffer in that
segment. If SourceBufferStream::Remove() is called with a
range that only covered part of this gap, then the
SourceBufferStream code could end up crashing when it was
trying to handle the remove. This change fixes the crash by
properly removing the empty range that gets created when
such a remove occurs.
BUG=382815
TEST=SourceBufferStreamTest.Remove_GapAtBeginningOfMediaSegment
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=276897
Patch Set 1 : #
Total comments: 14
Patch Set 2 : Address CR comments #
Total comments: 4
Patch Set 3 : Address CR comments. #
Messages
Total messages: 8 (0 generated)
|