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

FIX: PyAVReaderTimed.close does not close container #447

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

EitanHemed
Copy link

This comes to fix #446 - PyAVReaderTimed._container was not closing upon calling PyAVReaderTimed.close(). This allows for also existing context (with) properly. Cached frames are still available.

…ther the object's container is closed (_is_container_closed). The __del__ method handles a case where _container is closed (and hence a NoneType).
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.

pims.Video (PyAVReaderTimed backend) not closed by context manager
1 participant