mirror of
https://github.com/samsonjs/media.git
synced 2026-04-13 12:35:48 +00:00
Resume from playback position by default when media source changes
Issue:#2369 ------------- Created by MOE: https://github.com/google/moe MOE_MIGRATED_REVID=145982198
This commit is contained in:
parent
c49d142981
commit
9a90795041
1 changed files with 1 additions and 1 deletions
|
|
@ -1215,7 +1215,7 @@ import java.io.IOException;
|
|||
|
||||
long newLoadingPeriodStartPositionUs;
|
||||
if (loadingPeriodHolder == null) {
|
||||
newLoadingPeriodStartPositionUs = playbackInfo.startPositionUs;
|
||||
newLoadingPeriodStartPositionUs = playbackInfo.positionUs;
|
||||
} else {
|
||||
int newLoadingWindowIndex = timeline.getPeriod(newLoadingPeriodIndex, period).windowIndex;
|
||||
if (newLoadingPeriodIndex
|
||||
|
|
|
|||
Loading…
Reference in a new issue