aboutsummaryrefslogtreecommitdiffstats
path: root/libavcodec/ac3enc_opts_template.c
diff options
context:
space:
mode:
authorJustin Ruggles <justin.ruggles@gmail.com>2011-08-10 10:21:10 -0400
committerJustin Ruggles <justin.ruggles@gmail.com>2011-08-11 11:33:32 -0400
commit9542ca9fb743d3fb595ec24c23f96037b15d6b53 (patch)
tree11f909e7030c40209e09833f4caa4559f006436f /libavcodec/ac3enc_opts_template.c
parent4a71da0f3ab7f5542decd11c81994f849d5b2c78 (diff)
downloadffmpeg-9542ca9fb743d3fb595ec24c23f96037b15d6b53.tar.gz
ac3enc: fix 'channel_coupling' option to actually allow 'auto'.
Use 'auto' as the default value.
Diffstat (limited to 'libavcodec/ac3enc_opts_template.c')
-rw-r--r--libavcodec/ac3enc_opts_template.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libavcodec/ac3enc_opts_template.c b/libavcodec/ac3enc_opts_template.c
index 7c0eead011..342dcadd03 100644
--- a/libavcodec/ac3enc_opts_template.c
+++ b/libavcodec/ac3enc_opts_template.c
@@ -73,7 +73,7 @@ static const AVOption eac3_options[] = {
/* Other Encoding Options */
{"stereo_rematrixing", "Stereo Rematrixing", OFFSET(stereo_rematrixing), FF_OPT_TYPE_INT, {.dbl = 1 }, 0, 1, AC3ENC_PARAM},
#if AC3ENC_TYPE != AC3ENC_TYPE_AC3_FIXED
-{"channel_coupling", "Channel Coupling", OFFSET(channel_coupling), FF_OPT_TYPE_INT, {.dbl = 1 }, 0, 1, AC3ENC_PARAM, "channel_coupling"},
+{"channel_coupling", "Channel Coupling", OFFSET(channel_coupling), FF_OPT_TYPE_INT, {.dbl = -1 }, -1, 1, AC3ENC_PARAM, "channel_coupling"},
{"auto", "Selected by the Encoder", 0, FF_OPT_TYPE_CONST, {.dbl = -1 }, INT_MIN, INT_MAX, AC3ENC_PARAM, "channel_coupling"},
{"cpl_start_band", "Coupling Start Band", OFFSET(cpl_start), FF_OPT_TYPE_INT, {.dbl = -1 }, -1, 15, AC3ENC_PARAM, "cpl_start_band"},
{"auto", "Selected by the Encoder", 0, FF_OPT_TYPE_CONST, {.dbl = -1 }, INT_MIN, INT_MAX, AC3ENC_PARAM, "cpl_start_band"},