capture_get_property_i()

Updated: April 19, 2023

Get a video frame capture property of type integer

Synopsis:

#include <vcapture/capture.h>
int capture_get_property_i(capture_context_t context,
                           uint32_t prop,
                           int32_t *value)

Arguments:

context
The pointer to the video capture context.
prop
The property to get.
value
A pointer to the location where the retrieved property is located.

Library:

libcapture

Description:

This function retrieves a video capture driver or device property, which may have been set by capture_set_property_p().

Returns:

0 if successful; or -1 if an error occurred (errno is set; refer to errno.h for more details). The return value and the value that's observed for errno may vary as they are dependent on the implementation by the library that handles your hardware.