summaryrefslogtreecommitdiff
path: root/libswresample/swresample.c
diff options
context:
space:
mode:
authorMichael Niedermayer <michaelni@gmx.at>2012-04-10 21:10:14 +0200
committerMichael Niedermayer <michaelni@gmx.at>2012-04-10 21:18:33 +0200
commitb1ef4dc406e8a0bd9acea40d880aa4e74412075b (patch)
treef27a7122240b7b2b28f6c151f1edbb9c03259aca /libswresample/swresample.c
parent0cff3e130bfe0471d58ca55655a9d2b73a2873f5 (diff)
swr: add triangular dither support
Signed-off-by: Michael Niedermayer <michaelni@gmx.at>
Diffstat (limited to 'libswresample/swresample.c')
-rw-r--r--libswresample/swresample.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/libswresample/swresample.c b/libswresample/swresample.c
index 8b06061e7c..58096b3927 100644
--- a/libswresample/swresample.c
+++ b/libswresample/swresample.c
@@ -55,6 +55,7 @@ static const AVOption options[]={
{"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_method"},
{"rectangular", "rectangular dither", 0, AV_OPT_TYPE_CONST, {.dbl=SWR_DITHER_RECTANGULAR}, INT_MIN, INT_MAX, 0, "dither_method"},
+{"triangular" , "triangular dither" , 0, AV_OPT_TYPE_CONST, {.dbl=SWR_DITHER_TRIANGULAR }, INT_MIN, INT_MAX, 0, "dither_method"},
{0}
};