[FFmpeg-devel] [PATCH 1/4] swr: support -async X as a simple way to do what ffmpeg -async X did

Stefano Sabatini stefasab at gmail.com
Sun Dec 23 18:11:17 CET 2012


On date Sunday 2012-12-23 00:07:11 +0100, Michael Niedermayer encoded:
> Signed-off-by: Michael Niedermayer <michaelni at gmx.at>
> ---
>  libswresample/swresample.c          |   10 ++++++++++
>  libswresample/swresample_internal.h |    1 +
>  2 files changed, 11 insertions(+)
> 
> diff --git a/libswresample/swresample.c b/libswresample/swresample.c
> index af983a1..5cb9eaf 100644
> --- a/libswresample/swresample.c
> +++ b/libswresample/swresample.c
> @@ -97,6 +97,8 @@ static const AVOption options[]={
>                                                          , OFFSET(soft_compensation_duration),AV_OPT_TYPE_FLOAT ,{.dbl=1                     }, 0      , INT_MAX   , PARAM },
>  {"max_soft_comp"        , "set maximum factor by which data is stretched/squeezed to make it match the timestamps."
>                                                          , OFFSET(max_soft_compensation),AV_OPT_TYPE_FLOAT ,{.dbl=0                     }, INT_MIN, INT_MAX   , PARAM },
> +{"async"                , "simplified 1 parameter audio timestamp matching."

The help message is confusing, and doesn't provide much hints about what
the option is about (apart "audio timestamp").

Also the help message tells what the option does, not what the
parameter is.

[...]
-- 
FFmpeg = Furious Forgiving Miracolous Plastic Ecumenical Goblin


More information about the ffmpeg-devel mailing list