summaryrefslogtreecommitdiffstats
path: root/options/m_option.h
diff options
context:
space:
mode:
authorJames Ross-Gowan <rossymiles@gmail.com>2016-09-28 21:47:30 +1000
committerJames Ross-Gowan <rossymiles@gmail.com>2016-09-28 21:47:30 +1000
commitb712095d894c1ee8aba833e0263c40ce0a59e9c5 (patch)
treeb512d942a235317b69963e0ba59de7bfc3893e98 /options/m_option.h
parent3751065f9740244c95da963c0dd16a0bcd5b419c (diff)
downloadmpv-b712095d894c1ee8aba833e0263c40ce0a59e9c5.tar.bz2
mpv-b712095d894c1ee8aba833e0263c40ce0a59e9c5.tar.xz
win32: make --priority runtime-settable
I'm not sure if this option affects anything or if it's a placebo, especially since the VO thread is now registered with MMCSS. Still, I think --priority=high may have helped back when I used mplayer2 on a netbook. It's also possible that encoding-mode users would want to set --priority=idle. Anyway, it was one of the last M_OPT_FIXED options, so fix that.
Diffstat (limited to 'options/m_option.h')
-rw-r--r--options/m_option.h3
1 files changed, 2 insertions, 1 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 \