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

Do not ignore performance points 2 #20

Merged
merged 2 commits into from
May 14, 2024

Conversation

SylvainMorel
Copy link

In #19 I added a way to ignore a bug fix recently added by google that is having a negative impact on playback performance on some devices.
I realized just after that since there's lazy evaluation on the result of the added check, for the change to apply the app would have needed to be restarted. It's not a huge deal, since the app is restarted from time to time, and we don't plan on changing the device list that often. But I still found that annoying.
This PR improves on #19 by making sure we can change the value of the added boolean, and it will have an impact on the next codec change, not the next application execution. To do so, we keep the lazy eval system as it is, but we override the result higher in the stack.

@SylvainMorel SylvainMorel merged commit 582a9bf into mirego-main-1.3.1 May 14, 2024
SylvainMorel added a commit that referenced this pull request May 16, 2024
…ate (3rd try) (#21)

In
androidx@3521ccd,
a fallback was added when there is no coverage for 720p 60 FPS. That
introduced performance issues on several device models that are now
dropping 15-40 frames / sec in Live playback (depending on the model).
That's because they used to stay at a lower resolution/framerate, and
are now trying to playback 720P 60 FPS, but they struggle to do so.

This PR will allow us to disable the fallback on the identified device
models. So they will revert to using the lower fps track.

Previous attempts #19 and #20 had an issue with lower resolutions. They
were handling the formats that we didn't want to be supported correctly,
but they were also discarding lower resolutions/frame rates.
This one has been tested on a device similar to the ones with the issue,
and is confirmed to work properly.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
2 participants