1
0
mirror of https://github.com/mpv-player/mpv synced 2025-01-20 06:11:10 +00:00
mpv/video/out
wm4 c4766dc3c6 input: require VOs to send key up events, redo input key lookup
Making key up events implicit was sort-of a nice idea, but it's too
tricky and unreliable and makes the key lookup code (interpret_keys())
hard to reason about. See e.g. previous commit for subtle bugs and
issues this caused.

Make key-up events explicit instead. Add key up events to all VOs.
Any time MP_KEY_STATE_DOWN is used, the matching key up event must
use MP_KEY_STATE_UP.

Rewrite the key lookup code. It should be simpler and more robust now.
(Even though the LOC increases, because the new code is less "compact".)
2013-07-02 12:19:16 +02:00
..
aspect.c video: deal with 0x0 window size 2013-03-19 23:34:50 +01:00
aspect.h video: simplify aspect calculation stuff 2013-03-17 22:07:13 +01:00
bitmap_packer.c Silence some compiler warnings 2013-05-21 00:04:27 +02:00
bitmap_packer.h
cocoa_common.h cocoa_common: remove play/pause VOCTRL functions 2013-06-14 07:34:47 +02:00
cocoa_common.m input: require VOs to send key up events, redo input key lookup 2013-07-02 12:19:16 +02:00
d3d_shader_yuv.h
d3d_shader_yuv.hlsl vo_direct3d: remove 2ch hack for 10 bit playback 2013-01-13 20:04:14 +01:00
dither.c gl_video: improve dithering 2013-05-26 16:44:20 +02:00
dither.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
filter_kernels.c
filter_kernels.h
gl_cocoa.c video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
gl_common.c gl_common: fix invalid alignment 2013-05-30 15:56:51 +02:00
gl_common.h gl_video: improve dithering 2013-05-26 16:44:20 +02:00
gl_header_fixes.h gl_header_fixes: add GL_RGBA32F 2013-03-28 22:55:56 +01:00
gl_lcms.c stream: remove padding parameter from stream_read_complete() 2013-06-23 22:33:59 +02:00
gl_lcms.h vo_opengl: split into multiple files, convert to new option API 2013-03-28 21:46:17 +01:00
gl_osd.c add a way to resize window contents without VO resize 2013-05-12 15:27:54 +02:00
gl_osd.h add a way to resize window contents without VO resize 2013-05-12 15:27:54 +02:00
gl_video_shaders.glsl vo_opengl: handle chroma location 2013-06-28 21:20:41 +02:00
gl_video.c vo_opengl: handle chroma location 2013-06-28 21:20:41 +02:00
gl_video.h vo_opengl: handle chroma location 2013-06-28 21:20:41 +02:00
gl_w32.c video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
gl_wayland.c wayland: introduce vo_wayland_config 2013-05-26 16:44:19 +02:00
gl_x11.c video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
pnm_loader.c
pnm_loader.h
vo_caca.c input: require VOs to send key up events, redo input key lookup 2013-07-02 12:19:16 +02:00
vo_corevideo.h
vo_corevideo.m video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
vo_direct3d.c w32: use vo_w32_control() for all VOs 2013-05-26 16:44:19 +02:00
vo_image.c vo: remove vo.check_events callback 2013-05-26 16:44:19 +02:00
vo_lavc.c vo_lavc: remove unused variable 2013-06-18 12:22:25 +02:00
vo_null.c vo: remove vo.check_events callback 2013-05-26 16:44:19 +02:00
vo_opengl_old.c video/out: introduce vo_control for gl_common based VOs 2013-05-26 16:44:18 +02:00
vo_opengl.c video: add a new method to configure filters and VOs 2013-06-28 20:34:46 +02:00
vo_sdl.c input: require VOs to send key up events, redo input key lookup 2013-07-02 12:19:16 +02:00
vo_vdpau.c Replace all calls to GetTimer()/GetTimerMS() 2013-05-26 16:44:20 +02:00
vo_x11.c input: handle mouse movement differently 2013-06-29 22:58:13 +02:00
vo_xv.c input: handle mouse movement differently 2013-06-29 22:58:13 +02:00
vo.c input: handle mouse movement differently 2013-06-29 22:58:13 +02:00
vo.h input: handle mouse movement differently 2013-06-29 22:58:13 +02:00
w32_common.c input: require VOs to send key up events, redo input key lookup 2013-07-02 12:19:16 +02:00
w32_common.h w32: enable screensaver when paused 2013-06-14 00:39:31 +02:00
wayland_common.c input: require VOs to send key up events, redo input key lookup 2013-07-02 12:19:16 +02:00
wayland_common.h wayland: use VOCTRL_SET_CURSOR_VISIBILITY 2013-05-26 16:44:19 +02:00
x11_common.c input: require VOs to send key up events, redo input key lookup 2013-07-02 12:19:16 +02:00
x11_common.h Replace all calls to GetTimer()/GetTimerMS() 2013-05-26 16:44:20 +02:00