mirror of
https://github.com/mpv-player/mpv.git
synced 2025-12-28 05:33:14 +00:00
win32: add an option to change window affinity
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -63,6 +63,7 @@ typedef struct mp_vo_opts {
|
||||
bool force_render;
|
||||
bool force_window_position;
|
||||
|
||||
int window_affinity;
|
||||
char *mmcss_profile;
|
||||
|
||||
double override_display_fps;
|
||||
|
||||
Reference in New Issue
Block a user