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

vidcap: if n > 11, skips every 12th, 22nd, etc. image #6

Open
rootwork opened this issue Mar 5, 2022 · 0 comments
Open

vidcap: if n > 11, skips every 12th, 22nd, etc. image #6

rootwork opened this issue Mar 5, 2022 · 0 comments

Comments

@rootwork
Copy link
Owner

rootwork commented Mar 5, 2022

This line:

https://github.com/rootwork/bash-scripts/blob/main/videos/vidcap.sh#L307

is lazy. It works when there are fewer than 12 screencaps by simply skipping the 2nd (which is captured in the line prior and used as the top half image). But when there are 12 or more, it's going to skip every 12th, 22nd, 32nd, etc. image.

This should properly be a counter with a check when that counter equals (exactly) 2.

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

No branches or pull requests

1 participant