Fix load error handling policy invocation

PiperOrigin-RevId: 236648435
This commit is contained in:
aquilescanta 2019-03-04 15:24:54 +00:00 committed by Oliver Woodman
parent d68c861b21
commit 8a2fc55c49

View file

@ -251,7 +251,7 @@ import java.util.Arrays;
int errorCount) {
long retryDelay =
loadErrorHandlingPolicy.getRetryDelayMsFor(
C.DATA_TYPE_MEDIA, durationUs, error, errorCount);
C.DATA_TYPE_MEDIA, loadDurationMs, error, errorCount);
boolean errorCanBePropagated =
retryDelay == C.TIME_UNSET
|| errorCount