summaryrefslogtreecommitdiff
path: root/libavcodec/ac3enc.h
diff options
context:
space:
mode:
authorTim Walker <tdskywalker@gmail.com>2014-02-18 03:39:51 +0100
committerTim Walker <tdskywalker@gmail.com>2014-09-26 17:09:13 +0200
commit4c2fd4b262347273afe97865ba451a1abde43ae6 (patch)
tree891d59d0e9ea30c75ee6e931785f92ccc1474dde /libavcodec/ac3enc.h
parentb39ebcddd47daf37659796aaa7d068668086507a (diff)
ac3enc: allow Dolby Pro Logic II as a preferred downmix mode.
Some encoders already use this value even though it's reserved in the A/52 specification.
Diffstat (limited to 'libavcodec/ac3enc.h')
-rw-r--r--libavcodec/ac3enc.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libavcodec/ac3enc.h b/libavcodec/ac3enc.h
index 30c15d0d2f..c7b692d82a 100644
--- a/libavcodec/ac3enc.h
+++ b/libavcodec/ac3enc.h
@@ -86,6 +86,7 @@ typedef int64_t CoefSumType;
#define AC3ENC_OPT_SMALL_ROOM 2
#define AC3ENC_OPT_DOWNMIX_LTRT 1
#define AC3ENC_OPT_DOWNMIX_LORO 2
+#define AC3ENC_OPT_DOWNMIX_DPLII 3 // reserved value in A/52, but used by encoders to indicate DPL2
#define AC3ENC_OPT_ADCONV_STANDARD 0
#define AC3ENC_OPT_ADCONV_HDCD 1