media/library
tonihei 84f4fe5cf9 Recover from empty timelines.
(Related to GitHub #1706)

When the timeline becomes empty, the playback state transitions to "ended".
When the timeline becomes non-empty again, exceptions are thrown because MSG_DO_SOME_WORK is still regularly sent and media periods are getting prepared.

This change ensures that no MSG_DO_SOME_WORK messages are sent in "ended" state.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=160537147
2017-06-30 16:44:14 +01:00
..
all Make it easier to use ExoPlayer modules in other projects II 2017-06-28 22:26:05 +01:00
core Recover from empty timelines. 2017-06-30 16:44:14 +01:00
dash Switch the IMA extension to use in-period ads 2017-06-30 16:35:14 +01:00
hls Add SinglePeriodTimeline constructor to fill missing window information 2017-06-30 16:39:41 +01:00
smoothstreaming Make it easier to use ExoPlayer modules in other projects II 2017-06-28 22:26:05 +01:00
ui Switch the IMA extension to use in-period ads 2017-06-30 16:35:14 +01:00