-
-
Notifications
You must be signed in to change notification settings - Fork 117
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 for windows cameras without framerate #2574
Fix for windows cameras without framerate #2574
Conversation
6581bc0
to
8bad874
Compare
With the fix, I get this new error : File "c:\Users\lodyB\OneDrive\Documents\workspace python\starbucks_pygame\examples\camera.py", line 47, in init_cams
self.camera.start()
SystemError: <method 'start' of 'pygame.camera.Camera' objects> returned NULL without setting an exception |
Makes sense... Try this one: |
Oh my god I'm so beautifu uh uh uh, excuse me, tyvm, it works correctly now ! |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM 👍
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Fixes the issue for OP, and code LGTM. Thanks, let's get this in! 🎉
Issue reported by Pallas's cat on discord.
pygame.error: Media Foundation HRESULT failure -1072875802 on camera_windows.c line 407
This should fix it, waiting on testing by them.