diff options
author | Gyan Doshi <ffmpeg@gyani.pro> | 2020-01-07 15:50:09 +0530 |
---|---|---|
committer | Gyan Doshi <ffmpeg@gyani.pro> | 2020-01-08 11:15:13 +0530 |
commit | 5bd001043d91077eabd4cd1ffa71b396cf07c04d (patch) | |
tree | 6a4cb8e92866c1c796b5eec8583bc2694794482c /libavfilter/af_aformat.c | |
parent | 653ef8828a3b90deb468bf19a7ca39694364d59d (diff) | |
download | ffmpeg-5bd001043d91077eabd4cd1ffa71b396cf07c04d.tar.gz |
avfilter/aformat: add shorthand names for options
Diffstat (limited to 'libavfilter/af_aformat.c')
-rw-r--r-- | libavfilter/af_aformat.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/libavfilter/af_aformat.c b/libavfilter/af_aformat.c index e43149561a..1a702778c3 100644 --- a/libavfilter/af_aformat.c +++ b/libavfilter/af_aformat.c @@ -50,8 +50,11 @@ typedef struct AFormatContext { #define F AV_OPT_FLAG_FILTERING_PARAM static const AVOption aformat_options[] = { { "sample_fmts", "A '|'-separated list of sample formats.", OFFSET(formats_str), AV_OPT_TYPE_STRING, .flags = A|F }, + { "f", "A '|'-separated list of sample formats.", OFFSET(formats_str), AV_OPT_TYPE_STRING, .flags = A|F }, { "sample_rates", "A '|'-separated list of sample rates.", OFFSET(sample_rates_str), AV_OPT_TYPE_STRING, .flags = A|F }, + { "r", "A '|'-separated list of sample rates.", OFFSET(sample_rates_str), AV_OPT_TYPE_STRING, .flags = A|F }, { "channel_layouts", "A '|'-separated list of channel layouts.", OFFSET(channel_layouts_str), AV_OPT_TYPE_STRING, .flags = A|F }, + { "cl", "A '|'-separated list of channel layouts.", OFFSET(channel_layouts_str), AV_OPT_TYPE_STRING, .flags = A|F }, { NULL } }; |