capture_get_property_i()

Get video capture driver and device properties.

Synopsis:

#include <vcapture/capture.h>
 
int capture_get_property_i( 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 pointer to the location where the retrieved property is located.

Library:

libcapture

Description:

The function capture_get_property_i() retrieves video capture driver and device properties, which may have been set by capture_set_property_p().

Returns:

≥0
Success
-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.