| Updated: October 28, 2024 |
Set a video frame capture property of type integer
#include <vcapture/capture.h>
int capture_set_property_i(capture_context_t context,
uint32_t prop,
int32_t value)
This function sets a video capture property to pass to the video capture device driver.
You can instruct the video capture library to stop collecting and providing data for a property by setting the location for property in the array to NULL.
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.