summaryrefslogtreecommitdiffstats
path: root/cfg-common-opts.h
diff options
context:
space:
mode:
authorUoti Urpala <uau@glyph.nonexistent.invalid>2010-06-02 18:30:51 +0300
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-06-02 18:34:21 +0300
commit3f076c0fb318b41e91141b7473fdc896e84615b2 (patch)
tree834e5010851ecbd05a41010030e84d2288fc90ae /cfg-common-opts.h
parent57e0904baa78c05e9c7bccdd93aa47fd4d4aedc4 (diff)
downloadmpv-3f076c0fb318b41e91141b7473fdc896e84615b2.tar.bz2
mpv-3f076c0fb318b41e91141b7473fdc896e84615b2.tar.xz
options: move -a52drc to option struct
Also allow a range up to 2.
Diffstat (limited to 'cfg-common-opts.h')
-rw-r--r--cfg-common-opts.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/cfg-common-opts.h b/cfg-common-opts.h
index 84b4bdeaf3..8b364189ee 100644
--- a/cfg-common-opts.h
+++ b/cfg-common-opts.h
@@ -213,9 +213,7 @@
{"ignore-start", &ignore_start, CONF_TYPE_FLAG, 0, 0, 1, NULL},
{"noignore-start", &ignore_start, CONF_TYPE_FLAG, 0, 1, 0, NULL},
-#ifdef CONFIG_LIBA52
- {"a52drc", &a52_drc_level, CONF_TYPE_FLOAT, CONF_RANGE, 0, 1, NULL},
-#endif
+ OPT_FLOATRANGE("a52drc", drc_level, 0, 0, 2),
// ------------------------- codec/vfilter options --------------------