diff options
author | Dudemanguy <random342@airmail.cc> | 2020-11-23 13:26:57 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2020-12-06 17:36:43 +0000 |
commit | 08848e76d9219a097b8ca4d493ab1df7eb693162 (patch) | |
tree | 49a91858a0e636ade6bbbf8cbcc3256457a94ec0 /options/options.c | |
parent | d479dfd67de910d2a8abf876cd2d99cc2e62c2ea (diff) | |
download | mpv-08848e76d9219a097b8ca4d493ab1df7eb693162.tar.bz2 mpv-08848e76d9219a097b8ca4d493ab1df7eb693162.tar.xz |
player: add --screen-name and --fs-screen-name
Simple groundwork for adding a couple of user options that allow
selecting the screen with a string name. The next two commits implements
these options for xorg and wayland.
Diffstat (limited to 'options/options.c')
-rw-r--r-- | options/options.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/options/options.c b/options/options.c index a11c1114b9..8aadc87ab9 100644 --- a/options/options.c +++ b/options/options.c @@ -147,8 +147,10 @@ static const m_option_t mp_vo_opt_list[] = { {"no", 0}, {"yes", 1}, {"downscale-big", 2})}, {"wid", OPT_INT64(WinID)}, {"screen", OPT_CHOICE(screen_id, {"default", -1}), M_RANGE(0, 32)}, + {"screen-name", OPT_STRING(screen_name)}, {"fs-screen", OPT_CHOICE(fsscreen_id, {"all", -2}, {"current", -1}), M_RANGE(0, 32)}, + {"fs-screen-name", OPT_STRING(fsscreen_name)}, {"keepaspect", OPT_FLAG(keepaspect)}, {"keepaspect-window", OPT_FLAG(keepaspect_window)}, {"hidpi-window-scale", OPT_FLAG(hidpi_window_scale)}, |