This commit is contained in:
Oliver Woodman 2015-06-22 11:08:00 +01:00
parent 2f268a9962
commit 91b47cfe6b

View file

@ -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 {