diff options
author | James Ross-Gowan <rossymiles@gmail.com> | 2016-09-28 21:47:30 +1000 |
---|---|---|
committer | James Ross-Gowan <rossymiles@gmail.com> | 2016-09-28 21:47:30 +1000 |
commit | b712095d894c1ee8aba833e0263c40ce0a59e9c5 (patch) | |
tree | b512d942a235317b69963e0ba59de7bfc3893e98 /options/options.c | |
parent | 3751065f9740244c95da963c0dd16a0bcd5b419c (diff) | |
download | mpv-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/options.c')
-rw-r--r-- | options/options.c | 2 |
1 files changed, 1 insertions, 1 deletions
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}, |