From 04fb413a76abc7fa8e33391b7c24792843a97a28 Mon Sep 17 00:00:00 2001 From: FongMi Date: Wed, 18 Oct 2023 17:20:57 +0800 Subject: [PATCH] Update ExoUtil.java --- app/src/main/java/com/fongmi/android/tv/player/ExoUtil.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/src/main/java/com/fongmi/android/tv/player/ExoUtil.java b/app/src/main/java/com/fongmi/android/tv/player/ExoUtil.java index 36c920737..0669c6976 100644 --- a/app/src/main/java/com/fongmi/android/tv/player/ExoUtil.java +++ b/app/src/main/java/com/fongmi/android/tv/player/ExoUtil.java @@ -172,7 +172,7 @@ public class ExoUtil { private static void checkEvictor(boolean cache) { if (noOpCacheEvictor == null) noOpCacheEvictor = new NoOpCacheEvictor(); - if (usedCacheEvictor == null) usedCacheEvictor = new LeastRecentlyUsedCacheEvictor(100 * 1024 * 1024); + if (usedCacheEvictor == null) usedCacheEvictor = new LeastRecentlyUsedCacheEvictor(200 * 1024 * 1024); CacheEvictor evictor = cache ? usedCacheEvictor : noOpCacheEvictor; if (!evictor.equals(ExoUtil.evictor)) reset(); ExoUtil.evictor = evictor;