Commit 2746d59e by olly Committed by Oliver Woodman

Handle TrackStream transitions in isSourceReady.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=125669080
parent 79cbd390
......@@ -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.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment