From 04655f327586fac7b8ccc63cf96e2a5be1949601 Mon Sep 17 00:00:00 2001 From: Donat Zenichev Date: Mon, 25 May 2026 15:19:30 +0200 Subject: [PATCH] MT#61856 media_player: use `media_expire_us` The `media_player_expire_cache_entry()` appears to use the `db_expire_us` instead of the `media_expire_us`. Was most probably a copy-paste typo in the past, just fix it. Change-Id: I6a4938406a6fb43459c99a354616d5f5ce10bae2 --- daemon/media_player.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daemon/media_player.c b/daemon/media_player.c index 8a64abe1a..2982f42bd 100644 --- a/daemon/media_player.c +++ b/daemon/media_player.c @@ -2904,7 +2904,7 @@ static void media_player_expire_cache_entry(unsigned long long id, unsigned int int64_t mtime, atime; if (!media_player_get_cache_times(id, &mtime, &atime)) return; - int64_t limit = rtpe_now - rtpe_config.db_expire_us; + int64_t limit = rtpe_now - rtpe_config.media_expire_us; if (atime >= limit) return; if (media_player_evict_cache(id))