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