Commit b7d118fd by Oliver Woodman

Merge branch 'dev-v2' of persistent-https://github.com/google/ExoPlayer into dev-v2

parents d422d2e6 fefef0f9
......@@ -786,9 +786,7 @@ public final class DefaultTrackOutput implements TrackOutput {
return C.POSITION_UNSET;
}
int lastWriteIndex = (relativeWriteIndex == 0 ? capacity : relativeWriteIndex) - 1;
long lastTimeUs = timesUs[lastWriteIndex];
if (timeUs > lastTimeUs) {
if (timeUs > largestQueuedTimestampUs) {
return C.POSITION_UNSET;
}
......
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