Commit 91b47cfe by Oliver Woodman

Tweak

parent 2f268a99
...@@ -390,7 +390,7 @@ public class HlsSampleSource implements SampleSource, SampleSourceReader, Loader ...@@ -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 {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment