0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/player
Philip Langdale daa125cb45 osc: reset input handling state on a change in visibility mode
Currently, the activation and deactivation of input handling is done
inside the render() loop, but this does not run when the osc mode is
`never` - which does make sense.

That means that if you are cycling the visibility mode, the input
state will be whatever it was at the time of the mode change. And,
as our modes are ordered `auto` -> `always` -> `never`, the input
state will be enabled when you cycle to `never`.

There are various ways you can imagine fixing this, and in this
change I propose we reset the input state to disabled on a mode
change, and then let render() re-enable input if that's appropriate.

Fixes #7298.
2020-01-02 07:32:57 -08:00
..
javascript js: support mp.create_osd_overlay (match 07287262) 2019-12-23 17:52:34 +02:00
lua osc: reset input handling state on a change in visibility mode 2020-01-02 07:32:57 -08:00
audio.c command: shuffle some crap around 2019-11-25 00:26:36 +01:00
client.c client API, lua: add new API for setting OSD overlays 2019-12-23 11:44:24 +01:00
client.h client API: rewrite property observation (again) 2019-12-19 11:11:51 +01:00
command.c command: add a playlist-unshuffle command 2019-12-28 21:32:15 +01:00
command.h player: change m_config to use new option handling mechanisms 2019-11-29 12:49:15 +01:00
configfiles.c configfiles: Fix utime retcode check 2019-12-31 00:17:07 +01:00
core.h player: avoid underrun wakeup loop 2019-12-16 01:15:43 +01:00
external_files.c external_files: add .lrc subtitle extension 2019-09-02 01:25:43 +03:00
external_files.h player: get rid of mpv_global.opts 2018-05-24 19:56:35 +02:00
javascript.c js: support mp.create_osd_overlay (match 07287262) 2019-12-23 17:52:34 +02:00
loadfile.c playlist: change from linked list to an array 2019-12-28 21:32:15 +01:00
lua.c lua: fix mp.file_info for large files 2019-12-28 14:34:32 +01:00
main.c playlist: change from linked list to an array 2019-12-28 21:32:15 +01:00
misc.c playlist: change from linked list to an array 2019-12-28 21:32:15 +01:00
osd.c player: format low cache duration with more decimals 2019-10-11 19:18:43 +02:00
playloop.c player: make unpausing directly after seek work with --keep-open 2019-12-30 17:40:21 +01:00
screenshot.c screenshot, vo_image: use global swscale/zimg parameters 2019-10-31 15:44:09 +01:00
screenshot.h screenshot, vo_image: use global swscale/zimg parameters 2019-10-31 15:44:09 +01:00
scripting.c console.lua: add this script 2019-12-08 02:46:44 +01:00
sub.c player: ensure backward playback state is propagated on track switching 2019-09-19 20:37:05 +02:00
video.c player: avoid underrun wakeup loop 2019-12-16 01:15:43 +01:00