gf_vcap_set_input_source()

Set the video capture source

Synopsis:

#include <gf/gf.h>

void gf_vcap_set_input_source (
        gf_vcap_t   vcap,
        int         source_index );

Arguments:

vcap
The handle of the video capture unit, returned by gf_vcap_attach().
source_index
Index of the video capture source.

Library:

gf

Description:

This function sets the video input source to a video capture unit. The value is a zero-based device-dependent index, which selects among multiple possible video sources.


Note: 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 gf_vcap_update().

Classification:

QNX Graphics Framework

Safety:
Interrupt handler No
Signal handler No
Thread Yes

See also:

gf_vcap_attach(), gf_vcap_update()