gf_vcap_update()

Update video capture unit parameters

Synopsis:

#include <gf/gf.h>

int gf_vcap_update (
        gf_vcap_t       vcap,
        unsigned        flags );

Arguments:

vcap
The handle of the video capture unit, returned by gf_vcap_attach().
flags
Flags controlling additional behavior. Valid flags are:
GF_VCAP_UPDATE_NO_WAIT_VSYNC
Perform the operation asynchronously; the default behavior is to wait until the current frame has finished being captured before performing the update.

Library:

gf

Description:

This function updates a video capture unit's parameters. Changes made to a capture unit via the gf_vcap_set_*() set of functions are enqueued and do not take effect until you explicitly call this function.

Returns:

The status of the operation:

GF_ERR_OK
Success
GF_ERR_IODISPLAY
Error communicating with io-display. Check to ensure io-display is still running. The sloginfo utility may provide more information.

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

gf_vcap_attach()