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

try_seek is impossible to use with non-constant speed #638

Open
dvdsk opened this issue Nov 11, 2024 · 0 comments
Open

try_seek is impossible to use with non-constant speed #638

dvdsk opened this issue Nov 11, 2024 · 0 comments
Labels

Comments

@dvdsk
Copy link
Collaborator

dvdsk commented Nov 11, 2024

It takes the current speed into account but not what it has been the past t seconds. So if my speed was 0.5 and now its 2 try_seek will assume it has always been 2.

Correcting for this requires speed to keep track of all the speed changes.

possible fix:
Make speed's try_seek behavior configurable. Or for now disable all the fancy stuff.

This breaks the current API but I would say the current API is so broken its okay.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant