Skip to content

Reset video input source #161

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

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

Conversation

bjorn-felle
Copy link

Added an action to reset video source. Useful for frozen/uninitialised camera/video capture etc. I adapted this from a Lua script whch stored the current video input device details, set them to an empty value, waited a short period, then set the values back. I couldn't get this to work reliably in a plugin, so the execution of this action just gets and then immediately sets the source's settings. This seems to work just as well and successfully re-initialises the source.

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.

1 participant