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
mr26.1
Donat Zenichev 3 weeks ago
parent fff6e5abaf
commit 04655f3275

@ -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))

Loading…
Cancel
Save