Get the obtained video capture spec
int SDL_GetVideoCaptureSpec(SDL_VideoCaptureDevice *device, SDL_VideoCaptureSpec *spec);
device | opened video capture device |
spec | The SDL_VideoCaptureSpec to be initialized by this function. |
Returns 0 on success or a negative error code on failure; call SDL_GetError() for more information.
This function is available since SDL 3.0.0.