af_aformat: switch to an AVOptions-based system.
This commit is contained in:
@@ -133,13 +133,13 @@ The filter accepts the following named parameters:
|
||||
@table @option
|
||||
|
||||
@item sample_fmts
|
||||
A comma-separated list of requested sample formats.
|
||||
A '|'-separated list of requested sample formats.
|
||||
|
||||
@item sample_rates
|
||||
A comma-separated list of requested sample rates.
|
||||
A '|'-separated list of requested sample rates.
|
||||
|
||||
@item channel_layouts
|
||||
A comma-separated list of requested channel layouts.
|
||||
A '|'-separated list of requested channel layouts.
|
||||
|
||||
@end table
|
||||
|
||||
@@ -147,7 +147,7 @@ If a parameter is omitted, all values are allowed.
|
||||
|
||||
For example to force the output to either unsigned 8-bit or signed 16-bit stereo:
|
||||
@example
|
||||
aformat=sample_fmts\=u8\,s16:channel_layouts\=stereo
|
||||
aformat=sample_fmts=u8|s16:channel_layouts=stereo
|
||||
@end example
|
||||
|
||||
@section amix
|
||||
|
||||
Reference in New Issue
Block a user