Unified · Split
| @@ -1285,13 +1285,13 @@ negotiate the most appropriate format to minimize conversions. · 1284 unmodified lines | ||
| 1285 | 1285 | It accepts the following parameters: |
| 1286 | 1286 | @table @option |
| 1287 | 1287 | |
| 1288 | −@item sample_fmts | |
| 1288 | +@item sample_fmts, f | |
| 1289 | 1289 | A '|'-separated list of requested sample formats. |
| 1290 | 1290 | |
| 1291 | −@item sample_rates | |
| 1291 | +@item sample_rates, r | |
| 1292 | 1292 | A '|'-separated list of requested sample rates. |
| 1293 | 1293 | |
| 1294 | −@item channel_layouts | |
| 1294 | +@item channel_layouts, cl | |
| 1295 | 1295 | A '|'-separated list of requested channel layouts. |
| 1296 | 1296 | |
| 1297 | 1297 | See @ref{channel layout syntax,,the Channel Layout section in the ffmpeg-utils(1) manual,ffmpeg-utils} |
| @@ -50,8 +50,11 @@ typedef struct AFormatContext { · 49 unmodified lines | ||
| 50 | 50 | #define F AV_OPT_FLAG_FILTERING_PARAM |
| 51 | 51 | static const AVOption aformat_options[] = { |
| 52 | 52 | { "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 }, | |
| 53 | 54 | { "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 }, | |
| 54 | 56 | { "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 }, | |
| 55 | 58 | { NULL } |
| 56 | 59 | }; |
| 57 | 60 | |