Ask Your Question

Revision history [back]

Recover from unreleased VideoCapture

If my process is killed I have it set to respawn itself. Depending on how it is killed, I may not be able to release the VideoCapture object. Then I cannot open the camera when the app starts back up. Is there any way to recover from an unreleased VideoCapture programmatically?