Fix typo in variable name.

-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=205405072
This commit is contained in:
tonihei 2018-07-20 09:04:32 -07:00 committed by Oliver Woodman
parent badd9356f8
commit 8be95042cc

View File

@ -316,10 +316,10 @@ import java.util.concurrent.CopyOnWriteArraySet;
} else {
long windowPositionUs = positionMs == C.TIME_UNSET
? timeline.getWindow(windowIndex, window).getDefaultPositionUs() : C.msToUs(positionMs);
Pair<Integer, Long> periodIndexAndPositon =
Pair<Integer, Long> periodIndexAndPosition =
timeline.getPeriodPosition(window, period, windowIndex, windowPositionUs);
maskingWindowPositionMs = C.usToMs(windowPositionUs);
maskingPeriodIndex = periodIndexAndPositon.first;
maskingPeriodIndex = periodIndexAndPosition.first;
}
internalPlayer.seekTo(timeline, windowIndex, C.msToUs(positionMs));
for (Player.EventListener listener : listeners) {