Skip to content

Commit

Permalink
Fix video tunneling state transition to ready
Browse files Browse the repository at this point in the history
Issue: #2985

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=160827532
  • Loading branch information
andrewlewis authored and ojw28 committed Jul 5, 2017
1 parent 960315c commit d733bb4
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -268,7 +268,7 @@ protected void onPositionReset(long positionUs, boolean joining) throws ExoPlayb
@Override
public boolean isReady() {
if (super.isReady() && (renderedFirstFrame || (dummySurface != null && surface == dummySurface)
|| getCodec() == null)) {
|| getCodec() == null || tunneling)) {
// Ready. If we were joining then we've now joined, so clear the joining deadline.
joiningDeadlineMs = C.TIME_UNSET;
return true;
Expand Down

0 comments on commit d733bb4

Please sign in to comment.