mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-26 17:46:26 +03:00
9584804b6c
When we get a playlist update, we replace the list of SegmentReferences in the SegmentIndex. However, the position pointer in the SegmentIterator of the SegmentIndex is not updated, and still points to the index of the old SegmentReference list. Thus, the current SegmentReference may be null. We should merge the new SegmentReference list with the old list, and mark the offset of the list. Closes #2605 Change-Id: Ia6740e1173ac48467e7b141257cc9c6148e30a0c