Quantcast
Channel: OpenCV Q&A Forum - Latest question feed
Viewing all articles
Browse latest Browse all 19555

VideoCapture::read() hangs

$
0
0
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.

Viewing all articles
Browse latest Browse all 19555

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>