diff options
author | Lukasz Marek <lukasz.m.luki2@gmail.com> | 2014-05-27 23:04:52 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2014-05-28 03:52:50 +0200 |
commit | 8518da23f59d8f5a52f7c1c919f584a119484d0f (patch) | |
tree | f802b9b11a80c0a3d57b682fa3e8f15a5f17c7c1 /cmdutils.h | |
parent | bbc10a1aa537c75224b14252eb94c4c829c61a3b (diff) | |
download | ffmpeg-8518da23f59d8f5a52f7c1c919f584a119484d0f.tar.gz |
ffmpeg: add -devices param
FFmpeg mix devices and file formats when -formats option is used.
This commit adds a -devices param to list devices only.
Signed-off-by: Lukasz Marek <lukasz.m.luki2@gmail.com>
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'cmdutils.h')
-rw-r--r-- | cmdutils.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/cmdutils.h b/cmdutils.h index c4a16aac73..76d11a598c 100644 --- a/cmdutils.h +++ b/cmdutils.h @@ -431,12 +431,19 @@ int show_license(void *optctx, const char *opt, const char *arg); /** * Print a listing containing all the formats supported by the - * program. + * program (including devices). * This option processing function does not utilize the arguments. */ int show_formats(void *optctx, const char *opt, const char *arg); /** + * Print a listing containing all the devices supported by the + * program. + * This option processing function does not utilize the arguments. + */ +int show_devices(void *optctx, const char *opt, const char *arg); + +/** * Print a listing containing all the codecs supported by the * program. * This option processing function does not utilize the arguments. |