summaryrefslogtreecommitdiffstats
path: root/options/options.c
diff options
context:
space:
mode:
authorDeadSix <DeadSix27@users.noreply.github.com>2023-09-21 23:13:07 +0200
committerDudemanguy <random342@airmail.cc>2023-09-21 22:14:28 +0000
commit2c738ca54b16cdd1982473672bd39068fcf8d948 (patch)
tree67fc735491ccd41a74311c4cd21cb1d0b7bbbb13 /options/options.c
parent4c39e79169f666c1ba6075c1dd66184190eee328 (diff)
downloadmpv-2c738ca54b16cdd1982473672bd39068fcf8d948.tar.bz2
mpv-2c738ca54b16cdd1982473672bd39068fcf8d948.tar.xz
win32: add an option to change window affinity
Diffstat (limited to 'options/options.c')
-rw-r--r--options/options.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c
index 1fc80ea3d6..c53183a6ec 100644
--- a/options/options.c
+++ b/options/options.c
@@ -186,6 +186,8 @@ static const m_option_t mp_vo_opt_list[] = {
{"photo", 1}, {"video", 2}, {"game", 3})},
#endif
#if HAVE_WIN32_DESKTOP
+ {"window-affinity", OPT_CHOICE(window_affinity, {"default", WDA_NONE},
+ {"excludefromcapture", WDA_EXCLUDEFROMCAPTURE}, {"monitor", WDA_MONITOR})},
{"vo-mmcss-profile", OPT_STRING(mmcss_profile)},
#endif
#if HAVE_EGL_ANDROID