diff options
author | wm4 <wm4@nowhere> | 2015-12-06 19:20:23 +0100 |
---|---|---|
committer | wm4 <wm4@nowhere> | 2015-12-06 19:20:23 +0100 |
commit | 159eb3f962b845c861b5f10da35fcc12e1e6cb15 (patch) | |
tree | a57cb36cd84849dc3031e06a6876cf9c22f22476 /options/options.c | |
parent | 9db50c6760758089a013983f0fbf93ebde53dbc7 (diff) | |
download | mpv-159eb3f962b845c861b5f10da35fcc12e1e6cb15.tar.bz2 mpv-159eb3f962b845c861b5f10da35fcc12e1e6cb15.tar.xz |
win32: add option to set VO MMCSS profile
This was requested.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index d344f48b1a..f65e63566d 100644 --- a/options/options.c +++ b/options/options.c @@ -456,6 +456,10 @@ const m_option_t mp_opts[] = { ({"auto", 0}, {"no", -1}, {"yes", 1})), OPT_FLAG("x11-bypass-compositor", vo.x11_bypass_compositor, 0), #endif +#if HAVE_WIN32 + OPT_STRING("vo-mmcss-profile", vo.mmcss_profile, M_OPT_FIXED), +#endif + OPT_STRING("heartbeat-cmd", heartbeat_cmd, 0), OPT_FLOAT("heartbeat-interval", heartbeat_interval, CONF_MIN, 0), @@ -701,6 +705,7 @@ const struct MPOpts mp_default_opts = { .WinID = -1, .window_scale = 1.0, .x11_bypass_compositor = 1, + .mmcss_profile = "Playback", }, .allow_win_drag = 1, .wintitle = "${?media-title:${media-title}}${!media-title:No file} - mpv", |