History

avfilter/aformat: add shorthand names for options

Gyan Doshi committed 6 years ago

Commit 5bd00101 parent 653ef882 files · +6 −3Browse files

Showing the changes to libavfilter/af_aformat.c (1 of 2 files). Show all

Unified · Split

libavfilter/af_aformat.c+3−0
@@ -50,8 +50,11 @@ typedef struct AFormatContext { · 49 unmodified lines
5050 #define F AV_OPT_FLAG_FILTERING_PARAM
5151 static const AVOption aformat_options[] = {
5252 { "sample_fmts", "A '|'-separated list of sample formats.", OFFSET(formats_str), AV_OPT_TYPE_STRING, .flags = A|F },
53+ { "f", "A '|'-separated list of sample formats.", OFFSET(formats_str), AV_OPT_TYPE_STRING, .flags = A|F },
5354 { "sample_rates", "A '|'-separated list of sample rates.", OFFSET(sample_rates_str), AV_OPT_TYPE_STRING, .flags = A|F },
55+ { "r", "A '|'-separated list of sample rates.", OFFSET(sample_rates_str), AV_OPT_TYPE_STRING, .flags = A|F },
5456 { "channel_layouts", "A '|'-separated list of channel layouts.", OFFSET(channel_layouts_str), AV_OPT_TYPE_STRING, .flags = A|F },
57+ { "cl", "A '|'-separated list of channel layouts.", OFFSET(channel_layouts_str), AV_OPT_TYPE_STRING, .flags = A|F },
5558 { NULL }
5659 };
5760

Keyboard shortcuts

General

Show keyboard shortcuts
?
Focus the current search
/

Issues and pull requests

Open filters
f

Issues, pull requests and Inbox

Select next item
j↓
Select previous item
k↑
Open selected item
Enter
Dismiss filters or clear selection
Esc

Repository code

Go to file
t