1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-05 21:57:39 +00:00
mpv/video
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
..
decode vo_opengl: handle chroma location 2013-06-28 21:20:41 +02:00
filter vo_opengl: handle chroma location 2013-06-28 21:20:41 +02:00
out input: require VOs to send key up events, redo input key lookup 2013-07-02 12:19:16 +02:00
csputils.c csputils.h: don't recursively include libavcodec header 2013-06-28 21:20:42 +02:00
csputils.h csputils.h: don't recursively include libavcodec header 2013-06-28 21:20:42 +02:00
fmt-conversion.c Fix compilation with Libav 2013-05-01 17:02:06 +02:00
fmt-conversion.h
image_writer.c image_writer: Add PNG filter option (default "mixed") 2013-06-15 15:48:52 +02:00
image_writer.h image_writer: Add PNG filter option (default "mixed") 2013-06-15 15:48:52 +02:00
img_format.c img_format: fix broken condition 2013-05-06 23:11:10 +02:00
img_format.h video: add XYZ support 2013-05-01 16:26:45 +02:00
img_fourcc.h core: redo how codecs are mapped, remove codecs.conf 2013-02-10 17:25:56 +01:00
memcpy_pic.h
mp_image_pool.c
mp_image_pool.h
mp_image.c csputils.h: don't recursively include libavcodec header 2013-06-28 21:20:42 +02:00
mp_image.h vo_opengl: handle chroma location 2013-06-28 21:20:41 +02:00
sws_utils.c
sws_utils.h
vfcap.h core: simplify OSD capability handling, remove VFCAP_OSD 2013-03-01 11:16:01 +01:00