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

Close camera #3569

Open
hymenoby opened this issue Aug 10, 2015 · 3 comments
Open

Close camera #3569

hymenoby opened this issue Aug 10, 2015 · 3 comments
Labels
Component: Widgets kivy/uix, style.kv Type: Feature Issue is a feature request

Comments

@hymenoby
Copy link

Please; i am a new user of kivy and i find that the camera widget is a good one but i don't know how to close the camera.

when i make camera.play = False; it do stop the widget but don't close the camera. could someone help me please

@tshirtman
Copy link
Member

Seems the CameraBase doesn't provide any method to actually close the camera, since stop is actually pause (at least in pygst provider), one can stop the camera (at least the light goes down) by changing the state to STATE_NULL or STATE_READY in pygst provider, but then the camera can't start again, i guess one needs to reinit the pipeline in this situation. Our API is a bit simplistic there.

@hymenoby
Copy link
Author

I understand; i used pygst to close the camera and it works. thank you

@stale
Copy link

stale bot commented Oct 7, 2017

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions.

@stale stale bot added stale and removed stale labels Oct 7, 2017
@kivy kivy deleted a comment from keithlaaks Oct 7, 2017
@KeyWeeUsr KeyWeeUsr added the stale label Oct 7, 2017
@dessant dessant removed the stale label May 13, 2018
@Julian-O Julian-O added Component: Widgets kivy/uix, style.kv Type: Feature Issue is a feature request labels Nov 13, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Component: Widgets kivy/uix, style.kv Type: Feature Issue is a feature request
Projects
None yet
Development

No branches or pull requests

5 participants