Commit 36617264 by Oliver Woodman

Allow multiple chunk loads to prepare a HLS stream.

Issue: #530
parent 87dfaff7
......@@ -362,11 +362,8 @@ public class HlsSampleSource implements SampleSource, Loader.Callback {
if (!currentLoadableExceptionFatal) {
clearCurrentLoadable();
}
if (enabledTrackCount > 0) {
if (enabledTrackCount > 0 || !prepared) {
maybeStartLoading();
} else {
clearState();
loadControl.trimAllocator();
}
}
......
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