Scroll to navigation

SDL_GetVideoCaptureSpec(3) SDL3 FUNCTIONS SDL_GetVideoCaptureSpec(3)

NAME

SDL_GetVideoCaptureSpec - Get the obtained video capture spec

SYNOPSIS

#include "SDL3/SDL.h"
int SDL_GetVideoCaptureSpec(SDL_VideoCaptureDevice *device, SDL_VideoCaptureSpec *spec);

FUNCTION PARAMETERS

opened video capture device
The SDL_VideoCaptureSpec
to be initialized by this function.

RETURN VALUE

Returns 0 on success or a negative error code on failure; call

SDL_GetError () for more information.

AVAILABILITY

This function is available since SDL 3.0.0.

SEE ALSO

SDL_SetVideoCaptureSpec(3), SDL_OpenVideoCaptureWithSpec(3)

SDL 3.0.0 SDL