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

Update PiVideoStream to let its method 'read' always return newly updated frame #231

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

kcoms555
Copy link

Make PiVideoStream 'read' always return newly updated frame.

…ated frame

Make PiVideoStream 'read' always return newly updated frame.
@angadsingh
Copy link

this just adds a busy-wait loop. a lousy solution to an already problematic piece of code.

@kcoms555
Copy link
Author

this just adds a busy-wait loop. a lousy solution to an already problematic piece of code.
You are right. Is there any idea to update this pieces? A rough solution is maybe to apply an interruptible sleep functions. Any ideas?

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