Don't append segments that have already been appended
Fixes #430. If drainBuffer is called after updating is reset on the sourceBuffer but before updateend fires, a segment could be appended twice. Check to make sure a segment hasn't already been appended before proceeding with draining the buffer.
Showing
2 changed files
with
14 additions
and
0 deletions
-
Please register or sign in to post a comment