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

Undo changes to video tempfile handling, register atexit handler for tempfile deletion #423

Merged
merged 1 commit into from
May 28, 2024

Conversation

ljcornel
Copy link
Collaborator

Some time ago we removed the tempfile handling for video's that were uploaded from numpy arrays. However, this gave issues in one of the example scripts, which would fail because it couldn't access the video data. This PR reinstates the tempfiles in this case, and adds additional exit handling to make sure the tempfile gets deleted eventually.

@ljcornel ljcornel requested a review from igor-davidyuk May 28, 2024 09:51
@igor-davidyuk
Copy link
Contributor

have you tried this on Windows?

@ljcornel
Copy link
Collaborator Author

Yes, it works on Windows

Copy link
Contributor

@igor-davidyuk igor-davidyuk left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

AmazingAwesomeGIF

@ljcornel ljcornel merged commit 685ea17 into main May 28, 2024
11 checks passed
@ljcornel ljcornel deleted the fix-video-frame-visualizer branch May 28, 2024 12:11
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