mirror of
https://github.com/samsonjs/media.git
synced 2026-03-26 09:35:47 +00:00
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
1 changed files with 1 additions and 1 deletions
|
|
@ -416,7 +416,7 @@ public final class ExtractorSampleSource implements SampleSource, ExtractorOutpu
|
|||
clearState();
|
||||
allocator.trim(0);
|
||||
}
|
||||
} else if (!isFirstTrackSelection && newTracksSelected) {
|
||||
} else if (isFirstTrackSelection ? positionUs != 0 : newTracksSelected) {
|
||||
seekToInternal(positionUs);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue