Lines Matching defs:opts
1063 static const AVOption opts[] = {
1070 .option = opts,
1075 ret = av_opt_eval_int(&pclass, opts, arg, &count);
1328 static int print_device_sources(const AVInputFormat *fmt, AVDictionary *opts)
1337 if ((ret = avdevice_list_input_sources(fmt, NULL, opts, &device_list)) < 0) {
1349 static int print_device_sinks(const AVOutputFormat *fmt, AVDictionary *opts)
1358 if ((ret = avdevice_list_output_sinks(fmt, NULL, opts, &device_list)) < 0) {
1370 static int show_sinks_sources_parse_arg(const char *arg, char **dev, AVDictionary **opts)
1375 av_assert0(dev && opts);
1381 if (opts_str[0] && ((ret = av_dict_parse_string(opts, opts_str, "=", ":", 0)) < 0)) {
1396 AVDictionary *opts = NULL;
1402 if ((ret = show_sinks_sources_parse_arg(arg, &dev, &opts)) < 0)
1412 print_device_sources(fmt, opts);
1420 print_device_sources(fmt, opts);
1424 av_dict_free(&opts);
1434 AVDictionary *opts = NULL;
1440 if ((ret = show_sinks_sources_parse_arg(arg, &dev, &opts)) < 0)
1448 print_device_sinks(fmt, opts);
1456 print_device_sinks(fmt, opts);
1460 av_dict_free(&opts);