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

Adds frame seeking hotkeys #55

Merged
merged 3 commits into from
Feb 3, 2024
Merged

Adds frame seeking hotkeys #55

merged 3 commits into from
Feb 3, 2024

Conversation

DavidXenakis
Copy link
Contributor

Also, refactor the method for finding the right timestamp to start/end at when a trim exists. The new method uses a binary search, so it should be more efficient than a linear seek. I use this method to wrap around in the frame seeking.

Tested using trimmed videos at different speeds, and everything works as expected.

Updated Readme with new hotkeys

Also, refactor the method for finding the right timestamp to start/end
at when a trim exists. The new method uses a binary search, so it should
be more efficient than a linear seek. I use this method to wrap around
in the frame seeking.

Tested using trimmed videos at different speeds, and everything works as
expected.

Updated Readme with new hotkeys
@DavidXenakis
Copy link
Contributor Author

@exeldro Could you please take a look? This is a killer feature for my use-case!

@exeldro
Copy link
Owner

exeldro commented Jan 29, 2024

At first glance it looks good. I plan on taking a good look this week.

replay-source.c Outdated Show resolved Hide resolved
replay-source.c Outdated Show resolved Hide resolved
replay-source.c Outdated Show resolved Hide resolved
@DavidXenakis
Copy link
Contributor Author

With my latest changes, I've addressed your comments, added localization text, and added a feature to allow a coarse grained frame step, which defaults to 5 frames. This allows me to, for instance, hold shift when stepping frames to step a larger amount.

@exeldro exeldro merged commit 09996f9 into exeldro:master Feb 3, 2024
8 checks passed
@exeldro
Copy link
Owner

exeldro commented Feb 3, 2024

I will do some fixes on master

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