media/library
andrewlewis 929ef172a0 Fix handling of removed periods
If a timeline update removed periods at the end of the timeline which
had been buffered, handleSourceInfoRefreshed would call
getNextPeriodIndex and get back -1 for the last period holder in the
new timeline. Then isLastPeriod(-1) could throw.

Fix this behavior so that the remainder of the timeline is discarded.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=156061016
2017-05-17 16:48:07 +01:00
..
all Consolidate version codes in root gradle file 2017-04-18 19:42:27 +01:00
core Fix handling of removed periods 2017-05-17 16:48:07 +01:00
dash Fix playback of DASH/VP9/SegmentList DASH content 2017-04-24 21:37:33 +01:00
hls Propagate playlist loading error if it prevents playback 2017-05-11 05:53:20 +01:00
smoothstreaming Consolidate version codes in root gradle file 2017-04-18 19:42:27 +01:00
ui Fix wrap_content handling in DefaultTimeBar 2017-05-11 05:53:20 +01:00