Update ExoUtil.java

pull/123/head
FongMi 3 years ago
parent f19bb16d95
commit 534da009c4
  1. 2
      app/src/main/java/com/fongmi/android/tv/player/ExoUtil.java

@ -76,7 +76,7 @@ public class ExoUtil {
if (errorCode == PlaybackException.ERROR_CODE_PARSING_MANIFEST_MALFORMED) builder.setMimeType(MimeTypes.APPLICATION_OCTET);
else if (errorCode == PlaybackException.ERROR_CODE_PARSING_CONTAINER_UNSUPPORTED) builder.setMimeType(MimeTypes.APPLICATION_M3U8);
if (!TextUtils.isEmpty(sub)) builder.setSubtitleConfigurations(getSubtitles(sub));
builder.setDecode(Prefers.getDecode());
builder.setAllowChunklessPreparation(Prefers.getDecode() == 1);
return builder.build();
}

Loading…
Cancel
Save