mirror of
https://github.com/samsonjs/media.git
synced 2026-04-27 15:07:40 +00:00
Tweak
This commit is contained in:
parent
2f268a9962
commit
91b47cfe6b
1 changed files with 1 additions and 1 deletions
|
|
@ -390,7 +390,7 @@ public class HlsSampleSource implements SampleSource, SampleSourceReader, Loader
|
||||||
if (chunkSource.onChunkLoadError(currentLoadable, e)) {
|
if (chunkSource.onChunkLoadError(currentLoadable, e)) {
|
||||||
// Error handled by source.
|
// Error handled by source.
|
||||||
if (previousTsLoadable == null && !isPendingReset()) {
|
if (previousTsLoadable == null && !isPendingReset()) {
|
||||||
pendingResetPositionUs = currentTsLoadable.startTimeUs;
|
pendingResetPositionUs = lastSeekPositionUs;
|
||||||
}
|
}
|
||||||
clearCurrentLoadable();
|
clearCurrentLoadable();
|
||||||
} else {
|
} else {
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue