diff options
author | Dudemanguy <random342@airmail.cc> | 2024-02-25 14:10:00 -0600 |
---|---|---|
committer | Dudemanguy <random342@airmail.cc> | 2024-04-18 17:40:16 +0000 |
commit | bd1bcc1f31dcf614f4b53234a62dc6b6d0b25480 (patch) | |
tree | 1e42252372e071c5e01f46b3f0401eb050895993 /options | |
parent | bc28f7693d095758275448410aaa91255482857a (diff) | |
download | mpv-bd1bcc1f31dcf614f4b53234a62dc6b6d0b25480.tar.bz2 mpv-bd1bcc1f31dcf614f4b53234a62dc6b6d0b25480.tar.xz |
player: always notify when writing window-scale option
As described in the previous commit, update_window_scale will always
execute whenever window-scale is written even if the value doesn't
change.
Diffstat (limited to 'options')
-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 c059f4157d..8757ceeeff 100644 --- a/options/options.c +++ b/options/options.c @@ -128,7 +128,7 @@ static const m_option_t mp_vo_opt_list[] = { {"autofit-larger", OPT_SIZE_BOX(autofit_larger)}, {"autofit-smaller", OPT_SIZE_BOX(autofit_smaller)}, {"auto-window-resize", OPT_BOOL(auto_window_resize)}, - {"window-scale", OPT_DOUBLE(window_scale), M_RANGE(0.001, 100)}, + {"window-scale", OPT_DOUBLE(window_scale), M_RANGE(0.001, 100), .force_update = true}, {"window-minimized", OPT_BOOL(window_minimized)}, {"window-maximized", OPT_BOOL(window_maximized)}, {"focus-on-open", OPT_REMOVED("Replaced by --focus-on")}, |