Get video capture driver and device properties.
Synopsis:
#include <vcapture/capture.h>
int capture_get_property_p( capture_context_t context,
uint32_t prop, int32_t **value )
Arguments:
- context
- Pointer to the video capture context.
- prop
- The property to get.
- value
- A reference to the location where the retrieved property will be placed.
Library:
libcapture
Description:
The function
capture_get_property_p() retrieves video capture driver and device properties,
and then places them in an array, where they can be read.
Returns:
- ≥0
- Success: the number of filled elements in the array.
- -1
- An error occurred (errno is set).
Errors:
- ENOENT
- This property can't be retrieved by the method used.
- ENOTSUP
- The driver or the device doesn't support the specified property.