avdevice_list_input_sources

List devices.

Returns available device names and their parameters. These are convinient wrappers for avdevice_list_devices(). Device context is allocated and deallocated internally.

@param device device format. May be NULL if device name is set. @param device_name device name. May be NULL if device format is set. @param device_options An AVDictionary filled with device-private options. May be NULL. The same options must be passed later to avformat_write_header() for output devices or avformat_open_input() for input devices, or at any other place that affects device-private options. @paramout device_list list of autodetected devices @return count of autodetected devices, negative on error. @note device argument takes precedence over device_name when both are set.

@nogc nothrow extern (C)
int
avdevice_list_input_sources

Meta