mirror of
https://github.com/samsonjs/media.git
synced 2026-04-08 11:45:51 +00:00
Handle TrackStream transitions in isSourceReady.
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=125669080
This commit is contained in:
parent
79cbd390ab
commit
2746d59ea8
1 changed files with 1 additions and 1 deletions
|
|
@ -370,7 +370,7 @@ public abstract class TrackRenderer implements ExoPlayerComponent {
|
|||
* @return True if the source is ready. False otherwise.
|
||||
*/
|
||||
protected final boolean isSourceReady() {
|
||||
return stream.isReady();
|
||||
return readEndOfStream ? streamIsFinal : stream.isReady();
|
||||
}
|
||||
|
||||
// Abstract methods.
|
||||
|
|
|
|||
Loading…
Reference in a new issue