diff options
author | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-08-07 00:45:26 +0200 |
---|---|---|
committer | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-10-25 20:20:31 +0200 |
commit | 5f558198502001c7f26601352b979738e2e16b42 (patch) | |
tree | a87ab34440ca9def731538047518920e9c7b54c2 /cmdutils.h | |
parent | 1cff9085898c3e0d305e8159860b68b1f97b7ea9 (diff) | |
download | ffmpeg-5f558198502001c7f26601352b979738e2e16b42.tar.gz |
opts: add list device sources/sinks options
Allows to list sources/sinks of the devices that implement
that functionality.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Diffstat (limited to 'cmdutils.h')
-rw-r--r-- | cmdutils.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/cmdutils.h b/cmdutils.h index 76d11a598c..f6ad44ca40 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -443,6 +443,20 @@ int show_formats(void *optctx, const char *opt, const char *arg); */ int show_devices(void *optctx, const char *opt, const char *arg); +#if CONFIG_AVDEVICE +/** + * Print a listing containing audodetected sinks of the output device. + * Device name with options may be passed as an argument to limit results. + */ +int show_sinks(void *optctx, const char *opt, const char *arg); + +/** + * Print a listing containing audodetected sources of the input device. + * Device name with options may be passed as an argument to limit results. + */ +int show_sources(void *optctx, const char *opt, const char *arg); +#endif + /** * Print a listing containing all the codecs supported by the * program. |