summaryrefslogtreecommitdiffstats
path: root/cmdutils_common_opts.h
diff options
context:
space:
mode:
Diffstat (limited to 'cmdutils_common_opts.h')
-rw-r--r--cmdutils_common_opts.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/cmdutils_common_opts.h b/cmdutils_common_opts.h
index 49b5180..758dac1 100644
--- a/cmdutils_common_opts.h
+++ b/cmdutils_common_opts.h
@@ -27,3 +27,9 @@
{ "opencl_bench", OPT_EXIT, {.func_arg = opt_opencl_bench}, "run benchmark on all OpenCL devices and show results" },
{ "opencl_options", HAS_ARG, {.func_arg = opt_opencl}, "set OpenCL environment options" },
#endif
+#if CONFIG_AVDEVICE
+ { "sources" , OPT_EXIT | HAS_ARG, { .func_arg = show_sources },
+ "list sources of the input device", "device" },
+ { "sinks" , OPT_EXIT | HAS_ARG, { .func_arg = show_sinks },
+ "list sinks of the output device", "device" },
+#endif
OpenPOWER on IntegriCloud