Disable "Video Input" window on macOS

I'm not sure why, but when it's enabled macOS kills the program
complaining "NSScreen reconfig must only happen on the main thread."
When it's not enabled the program runs fine.
This commit is contained in:
Epicalert 2021-01-15 19:03:48 +08:00
parent c6c96739bd
commit 0aac06bc30
No known key found for this signature in database
GPG key ID: CAA46F858D0979BD

View file

@ -12,6 +12,8 @@ int main () {
graphicsFrame(); graphicsFrame();
#ifndef __APPLE__
cvShowFrame(); cvShowFrame();
#endif
} }
} }