VideoCapture didn't call release method and just ignored the new capture sources. OpenCV documentation: bool VideoCapture::open(const string& filename); bool VideoCapture::open(int device); The methods first call VideoCapture::release() to close the already opened file or camera. |
||
|---|---|---|
| .. | ||
| doc | ||
| include/opencv2 | ||
| perf | ||
| src | ||
| test | ||
| CMakeLists.txt | ||