diff options
author | Justin Ruggles <justin.ruggles@gmail.com> | 2007-12-20 00:55:08 +0000 |
---|---|---|
committer | Justin Ruggles <justin.ruggles@gmail.com> | 2007-12-20 00:55:08 +0000 |
commit | 1408352ada60d5a174b48d547114bb086812fcdb (patch) | |
tree | 5fc703d20a2a6d9226684deec3fb2749ea570e5f /libavcodec/utils.c | |
parent | cd31f8dc23649fc61658fadee302ce20f761303b (diff) | |
download | ffmpeg-streaming-1408352ada60d5a174b48d547114bb086812fcdb.zip ffmpeg-streaming-1408352ada60d5a174b48d547114bb086812fcdb.tar.gz |
Add option for user to scale the amount of dynamic range compression which is
applied by the audio decoder, and use that option in the AC3 decoder.
Originally committed as revision 11280 to svn://svn.ffmpeg.org/ffmpeg/trunk
Diffstat (limited to 'libavcodec/utils.c')
-rw-r--r-- | libavcodec/utils.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/utils.c b/libavcodec/utils.c index 290814d..3b5ef7a 100644 --- a/libavcodec/utils.c +++ b/libavcodec/utils.c @@ -761,6 +761,7 @@ static const AVOption options[]={ {"drop_frame_timecode", NULL, 0, FF_OPT_TYPE_CONST, CODEC_FLAG2_DROP_FRAME_TIMECODE, INT_MIN, INT_MAX, V|E, "flags2"}, {"non_linear_q", "use non linear quantizer", 0, FF_OPT_TYPE_CONST, CODEC_FLAG2_NON_LINEAR_QUANT, INT_MIN, INT_MAX, V|E, "flags2"}, {"request_channels", "set desired number of audio channels", OFFSET(request_channels), FF_OPT_TYPE_INT, DEFAULT, 0, INT_MAX, A|D}, +{"drc_scale", "percentage of dynamic range compression to apply", OFFSET(drc_scale), FF_OPT_TYPE_FLOAT, 1.0, 0.0, 1.0, A|D}, {NULL}, }; |