Commit b8056923 by Oliver Woodman

Correctly propagate fatal load error.

parent 4c29eb58
......@@ -316,7 +316,8 @@ public class HlsSampleSource implements SampleSource, Loader.Callback {
}
private void maybeThrowLoadableException() throws IOException {
if (currentLoadableException != null && currentLoadableExceptionCount > minLoadableRetryCount) {
if (currentLoadableException != null && (currentLoadableExceptionFatal
|| currentLoadableExceptionCount > minLoadableRetryCount)) {
throw currentLoadableException;
}
}
......
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