mirror of
https://github.com/shaka-project/shaka-player.git
synced 2026-06-15 16:06:41 +03:00
abfc0b2ac2
Instead of checking for both lastSegmentReference and lastInitSegmentReference, we shoould only check lastSegmentReference. As of shaka-project/shaka-player#6929, init segment references aren't cleared on clearBuffer, this onInitSegmentAppended not account for the safe margin properly.