summaryrefslogtreecommitdiffstats
path: root/cfg-common.h
diff options
context:
space:
mode:
authorClément Bœsch <ubitux@gmail.com>2010-11-12 21:04:16 +0100
committerUoti Urpala <uau@glyph.nonexistent.invalid>2010-11-13 23:06:33 +0200
commit9a9a7feafe213147de93bb34d1e4f70a99777b15 (patch)
treeae43d3fbb792f8c049dcb393576aa9711541e605 /cfg-common.h
parent91ea30c58587af0929b7dea42ff238d70e78a9bc (diff)
downloadmpv-9a9a7feafe213147de93bb34d1e4f70a99777b15.tar.bz2
mpv-9a9a7feafe213147de93bb34d1e4f70a99777b15.tar.xz
options: move various mplayer.c options to option struct
Following options were moved: [no]quiet, [no]autosync, softsleep, [no]rtc, rtc-device.
Diffstat (limited to 'cfg-common.h')
-rw-r--r--cfg-common.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/cfg-common.h b/cfg-common.h
index 03218a3c58..02c610d0a7 100644
--- a/cfg-common.h
+++ b/cfg-common.h
@@ -366,8 +366,7 @@ extern const m_option_t xvid_dec_opts[];
const m_option_t common_opts[] = {
// ------------------------- common options --------------------
- {"quiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 0, 1, NULL},
- {"noquiet", &quiet, CONF_TYPE_FLAG, CONF_GLOBAL, 1, 0, NULL},
+ OPT_MAKE_FLAGS("quiet", quiet, CONF_GLOBAL),
{"really-quiet", &verbose, CONF_TYPE_FLAG, CONF_GLOBAL|CONF_PRE_PARSE, 0, -10, NULL},
{"v", cfg_inc_verbose, CONF_TYPE_FUNC, CONF_GLOBAL|CONF_NOSAVE, 0, 0, NULL},
{"msglevel", (void *) msgl_config, CONF_TYPE_SUBCONFIG, CONF_GLOBAL, 0, 0, NULL},