mirror of
https://github.com/androidx/media.git
synced 2025-05-10 17:22:13 +08:00
Remove unnecessary call to seekTo.
This commit is contained in:
parent
0ee8c07fe5
commit
2c29d88330
@ -122,7 +122,6 @@ public class TextTrackRenderer extends TrackRenderer implements Callback {
|
|||||||
private void seekToInternal(long positionUs) {
|
private void seekToInternal(long positionUs) {
|
||||||
inputStreamEnded = false;
|
inputStreamEnded = false;
|
||||||
currentPositionUs = positionUs;
|
currentPositionUs = positionUs;
|
||||||
source.seekToUs(positionUs);
|
|
||||||
subtitle = null;
|
subtitle = null;
|
||||||
nextSubtitle = null;
|
nextSubtitle = null;
|
||||||
parserHelper.flush();
|
parserHelper.flush();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user