summaryrefslogtreecommitdiffstats
path: root/libswresample/swresample.c
diff options
context:
space:
mode:
authorMichael Niedermayer <[email protected]>2013-02-24 19:05:54 +0100
committerMichael Niedermayer <[email protected]>2013-02-24 20:31:56 +0100
commit8b3affda87e45165bd7d968a8cad82fe700f60b7 (patch)
treecc4dc3a3a0045ed097d310b5099a470768335c1b /libswresample/swresample.c
parentc4c702b6d3b42b5ae25d96982f283b4028a83574 (diff)
swr: support a seperate output sample bits.
This avoids user apps having to mangle dither scale. for pcm24 Signed-off-by: Michael Niedermayer <[email protected]>
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 f69e36eeaf..f85f88fea5 100644
--- a/libswresample/swresample.c
+++ b/libswresample/swresample.c
@@ -127,6 +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 },
{0}
};