diff options
author | Michael Niedermayer <michaelni@gmx.at> | 2012-04-10 20:29:47 +0200 |
---|---|---|
committer | Michael Niedermayer <michaelni@gmx.at> | 2012-04-10 21:18:32 +0200 |
commit | 017088937252a765ac0ffc30a49ef4d03534976f (patch) | |
tree | 46d8ef28a5354cbeba4f358d4038fb08a9f2f42f /libswresample/swresample.c | |
parent | 1ac606bae60e46522189b678b58a7fb8376046ac (diff) | |
download | ffmpeg-017088937252a765ac0ffc30a49ef4d03534976f.tar.gz |
swr: add SWR_DITHER_RECTANGULAR to AVOptions array
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample.c')
-rw-r--r-- | libswresample/swresample.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libswresample/swresample.c b/libswresample/swresample.c index 23b7449930..c60233ca3e 100644 --- a/libswresample/swresample.c +++ b/libswresample/swresample.c @@ -53,7 +53,8 @@ static const AVOption options[]={ {"rmvol", "rematrix volume" , OFFSET(rematrix_volume), AV_OPT_TYPE_FLOAT, {.dbl=1.0}, -1000, 1000, 0}, {"flags", NULL , OFFSET(flags) , AV_OPT_TYPE_FLAGS, {.dbl=0}, 0, UINT_MAX, 0, "flags"}, {"res", "force resampling", 0, AV_OPT_TYPE_CONST, {.dbl=SWR_FLAG_RESAMPLE}, INT_MIN, INT_MAX, 0, "flags"}, -{"dither", "dither method" , OFFSET(dither_method), AV_OPT_TYPE_INT, {.dbl=0}, 0, SWR_DITHER_NB-1, 0}, +{"dither", "dither method" , OFFSET(dither_method), AV_OPT_TYPE_INT, {.dbl=0}, 0, SWR_DITHER_NB-1, 0, "dither_method"}, +{"rectangular", "rectangular dither", 0, AV_OPT_TYPE_CONST, {.dbl=SWR_DITHER_RECTANGULAR}, INT_MIN, INT_MAX, 0, "dither_method"}, {0} }; |