af_aformat: switch to an AVOptions-based system.

This commit is contained in:
Anton Khirnov
2013-02-25 21:21:29 +01:00
parent d28cb84989
commit 0af7fe1f95
2 changed files with 17 additions and 25 deletions

View File

@@ -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