Fix starting playback from t!=0
------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=118032818
This commit is contained in:
parent
f09b86a1bb
commit
050b0b66da
@ -416,7 +416,7 @@ public final class ExtractorSampleSource implements SampleSource, ExtractorOutpu
|
|||||||
clearState();
|
clearState();
|
||||||
allocator.trim(0);
|
allocator.trim(0);
|
||||||
}
|
}
|
||||||
} else if (!isFirstTrackSelection && newTracksSelected) {
|
} else if (isFirstTrackSelection ? positionUs != 0 : newTracksSelected) {
|
||||||
seekToInternal(positionUs);
|
seekToInternal(positionUs);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user