The following code :
Capture Cap(fc, NULL);
Cap.listCapabilities(0);
will output a list of capabilities with valid resolutions, framerates but no format (CA_NONE) whether I use a generic USB 2.0 camera or an FX3 eval board (That outputs a YUY2 stream).
UPDATE : The computer I first tested the lib on runs on Windows 8.1.
I tested it on my Surface Pro too (Win 8.1, two cameras), the lib could find 18 capabilities but only 3 of them didn't have an invalid format (CA_MJPEG instead of CA_NONE).
The following code :
Capture Cap(fc, NULL);
Cap.listCapabilities(0);
will output a list of capabilities with valid resolutions, framerates but no format (CA_NONE) whether I use a generic USB 2.0 camera or an FX3 eval board (That outputs a YUY2 stream).
UPDATE : The computer I first tested the lib on runs on Windows 8.1.
I tested it on my Surface Pro too (Win 8.1, two cameras), the lib could find 18 capabilities but only 3 of them didn't have an invalid format (CA_MJPEG instead of CA_NONE).