mirror of
https://github.com/opencv/opencv.git
synced 2024-11-25 11:40:44 +08:00
b524e275c1
[NSRunLoop currentRunLoop] is not the same as in the main thread. see https://developer.apple.com/library/mac/#documentation/Cocoa/Reference/F oundation/Classes/nsrunloop_Class/Reference/Reference.html "If no input sources or timers are attached to the run loop, this method exits immediately" The old code caused grabFrame() to return immediately if the capture was not done in the main thread. This code works correctly, even in secondary threads, provided that all capture functions are called in the *same* thread |
||
---|---|---|
.. | ||
doc | ||
include/opencv2/highgui | ||
perf | ||
src | ||
test | ||
CMakeLists.txt |