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

Video helper destroying input frame list #302

Closed
kelleyl opened this issue Aug 9, 2024 · 0 comments · Fixed by #303
Closed

Video helper destroying input frame list #302

kelleyl opened this issue Aug 9, 2024 · 0 comments · Fixed by #303

Comments

@kelleyl
Copy link
Contributor

kelleyl commented Aug 9, 2024

The extract_frames_as_images function modifies the input list framenums in-place by using framenums.pop(0). This can lead to unexpected behavior if the framenums list is used later because it will be empty.

Could fix this by copying the list first.

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

Successfully merging a pull request may close this issue.

2 participants