X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=cmdutils_common_opts.h;h=758dac194c65b8f6a6c110c6b8177b5674fc600b;hb=db6be5416caf32ac85c3f9546e86ef9db06a7e2a;hp=49b5180e37068cdf1926832212676ad76d9ebd20;hpb=6ef5e292200b6824b666a6a876d344fe7e6a48b2;p=ffmpeg diff --git a/cmdutils_common_opts.h b/cmdutils_common_opts.h index 49b5180e370..758dac194c6 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