summaryrefslogtreecommitdiffstats
path: root/options
diff options
context:
space:
mode:
Diffstat (limited to 'options')
-rw-r--r--options/m_option.h3
-rw-r--r--options/options.c2
2 files changed, 3 insertions, 2 deletions
diff --git a/options/m_option.h b/options/m_option.h
index 6a7b4accc9..69113bbd8c 100644
--- a/options/m_option.h
+++ b/options/m_option.h
@@ -389,7 +389,8 @@ struct m_option {
#define UPDATE_IMGPAR (1 << 12) // video image params overrides
#define UPDATE_INPUT (1 << 13) // mostly --input-* options
#define UPDATE_AUDIO (1 << 14) // --audio-channels etc.
-#define UPDATE_OPT_LAST (1 << 14)
+#define UPDATE_PRIORITY (1 << 15) // --priority (Windows-only)
+#define UPDATE_OPT_LAST (1 << 15)
// All bits between _FIRST and _LAST (inclusive)
#define UPDATE_OPTS_MASK \
diff --git a/options/options.c b/options/options.c
index a91775ddf4..b7cc7443d2 100644
--- a/options/options.c
+++ b/options/options.c
@@ -269,7 +269,7 @@ const m_option_t mp_opts[] = {
OPT_FLAG("msg-module", msg_module, UPDATE_TERM),
OPT_FLAG("msg-time", msg_time, UPDATE_TERM),
#ifdef _WIN32
- OPT_CHOICE("priority", w32_priority, M_OPT_FIXED,
+ OPT_CHOICE("priority", w32_priority, UPDATE_PRIORITY,
({"no", 0},
{"realtime", REALTIME_PRIORITY_CLASS},
{"high", HIGH_PRIORITY_CLASS},