Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Use cache from ExoPlayerConfig to create a new pool #171

Merged
merged 7 commits into from
Aug 11, 2023
Merged

Conversation

sdex
Copy link
Contributor

@sdex sdex commented Sep 30, 2021

Currently, it's not possible to set a cache for a pool, the value from ExoPlayerConfig is not used.
With these changes, a new pool uses a cache from the config, if it isn't set just fall back to the default one - LRU cache.

@eneim
Copy link
Owner

eneim commented Oct 2, 2021

@sdex Thanks, while the diff looks valid, can you elaborate more about this:

the value from ExoPlayerConfig is not used.

@sdex
Copy link
Contributor Author

sdex commented Oct 3, 2021

@sdex Thanks, while the diff looks valid, can you elaborate more about this:

the value from ExoPlayerConfig is not used.

I can't find where the cache field from ExoPlayerConfig is used. Also, in Android Studio Find usages founds nothing.
So, I drew a conclusion that the variable is not used.

@eneim eneim merged commit d350e78 into eneim:dev-v1 Aug 11, 2023
1 check failed
eneim added a commit that referenced this pull request Aug 11, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants