Allows the scale mode to be changed at runtime if vidscale is set to auto.
Unified · Split
| @@ -2851,6 +2851,7 @@ mp.observe_property("osd-dimensions", "native", function() · 2850 unmodified lines | ||
| 2851 | 2851 | -- we might have to worry about property update ordering) |
| 2852 | 2852 | request_init_resize() |
| 2853 | 2853 | end) |
| 2854 | +mp.observe_property('osd-scale-by-window', 'native', request_init_resize) | |
| 2854 | 2855 | |
| 2855 | 2856 | -- mouse show/hide bindings |
| 2856 | 2857 | mp.set_key_bindings({ |