[FFmpeg-devel] [PATCH] swresample: set flags & description for output_sample_bits

Stefano Sabatini stefasab at gmail.com
Tue Jun 4 23:27:57 CEST 2013


On date Tuesday 2013-06-04 12:00:19 +0000, Paul B Mahol encoded:
> Allows users to actually use such option.
> 
> Signed-off-by: Paul B Mahol <onemda at gmail.com>
> ---
>  libswresample/swresample.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/libswresample/swresample.c b/libswresample/swresample.c
> index 9b71b2e..d8fda88 100644
> --- a/libswresample/swresample.c
> +++ b/libswresample/swresample.c
> @@ -127,7 +127,7 @@ static const AVOption options[]={
>  
>  { "kaiser_beta"         , "set swr Kaiser Window Beta"  , OFFSET(kaiser_beta)    , AV_OPT_TYPE_INT  , {.i64=9                     }, 2      , 16        , PARAM },
>  
> -{ "output_sample_bits"   , ""  , OFFSET(dither.output_sample_bits)               , AV_OPT_TYPE_INT  , {.i64=0                     }, 0      , 64        , 0 },
> +{ "output_sample_bits"  , "set number of output sample bits", OFFSET(dither.output_sample_bits), AV_OPT_TYPE_INT  , {.i64=0       }, 0      , 64        , PARAM },

While at it please also add some notes to resampler.texi (undocumented
feature -> unexisting feature).
-- 
FFmpeg = Frightening and Faithless Meaningful Political Eretic Gadget


More information about the ffmpeg-devel mailing list