MCPcopy Create free account
hub / github.com/FFmpeg/FFmpeg / avdevice_list_input_sources

Function avdevice_list_input_sources

libavdevice/avdevice.c:85–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83}
84
85int avdevice_list_input_sources(const AVInputFormat *device, const char *device_name,
86 AVDictionary *device_options, AVDeviceInfoList **device_list)
87{
88 AVFormatContext *s = NULL;
89 int ret;
90
91 if ((ret = ff_alloc_input_device_context(&s, device, device_name)) < 0)
92 return ret;
93 return list_devices_for_context(s, device_options, device_list);
94}
95
96int avdevice_list_output_sinks(const AVOutputFormat *device, const char *device_name,
97 AVDictionary *device_options, AVDeviceInfoList **device_list)

Callers 1

print_device_sourcesFunction · 0.85

Calls 2

list_devices_for_contextFunction · 0.85

Tested by

no test coverage detected