summaryrefslogtreecommitdiff
path: root/libavcodec/avcodec.h
diff options
context:
space:
mode:
authorAnton Khirnov <anton@khirnov.net>2011-05-20 22:37:59 +0200
committerAnton Khirnov <anton@khirnov.net>2011-07-10 17:07:12 +0200
commit9b83919f44eb1c87dc9431112944f0cccf6a599f (patch)
treed5dc047b684367ed16ec2124467bc4fc315dec04 /libavcodec/avcodec.h
parenta67c061e0f3b55ffcc96f336fc0998e44b86c8e4 (diff)
ac3dec: add a drc_scale private option
Deprecate corresponding AVCodecContext option. This is the first test of decoder private options.
Diffstat (limited to 'libavcodec/avcodec.h')
-rw-r--r--libavcodec/avcodec.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/libavcodec/avcodec.h b/libavcodec/avcodec.h
index ba0c636292..7c7a0c6a97 100644
--- a/libavcodec/avcodec.h
+++ b/libavcodec/avcodec.h
@@ -2544,13 +2544,16 @@ typedef struct AVCodecContext {
int request_channels;
#endif
+#if FF_API_DRC_SCALE
/**
* Percentage of dynamic range compression to be applied by the decoder.
* The default value is 1.0, corresponding to full compression.
* - encoding: unused
* - decoding: Set by user.
+ * @deprecated use AC3 decoder private option instead.
*/
- float drc_scale;
+ attribute_deprecated float drc_scale;
+#endif
/**
* opaque 64bit number (generally a PTS) that will be reordered and