I have noticed that there are rare situations where VideoCapture::read() can hang indefinitely. I can't reproduce 100% (yet) but this has happened to me when reading from an HTTP stream where the connection was interrupted abnormally.
Is there any safe way for me to tell the VideoCapture instance (from another thread) to exit from read() in this situation?
Thanks much.