1
0
mirror of https://github.com/mpv-player/mpv synced 2025-03-08 23:27:33 +00:00
mpv/player
Avi Halachmi (:avih) 3694af6076 js: key bindings: ensure priorities for same-key - again
Commit 7f4841ff sorted the bindings so that if the same key was bound
more than once, then the newest binding takes priority (sorted last).

However, it got the comparison function wrong, which means the result
of the sort depended on the algorithm and not on the actual data, so
the priority for keys with more than one binding was still arbitraty.

Fix the sort function, and finally ensure that later binding acutally
override earlier bindings of the same key.
2022-06-23 17:16:33 +03:00
..
javascript js: key bindings: ensure priorities for same-key - again 2022-06-23 17:16:33 +03:00
lua lua: command_native_async: make the callback optional 2022-06-22 14:44:52 +03:00
audio.c player: rearrange video sync opts/enums/defines 2022-04-11 18:14:22 +00:00
client.c various: fix typos 2022-04-25 09:07:18 -04:00
client.h
command.c
command.h
configfiles.c
core.h player: rearrange video sync opts/enums/defines 2022-04-11 18:14:22 +00:00
external_files.c player: add tiff/tif (TIFF) to list of image extensions 2022-06-07 06:28:34 -04:00
external_files.h
javascript.c
loadfile.c
lua.c lua: avoid rare memory leak in mp.join_path 2022-05-12 17:15:37 +03:00
main.c player: check for argv before printing help text 2022-05-16 21:10:09 +00:00
misc.c
osd.c various: fix typos 2022-04-25 09:07:18 -04:00
playloop.c player: set EOF when seeking to end with keep-open 2022-05-14 14:51:42 +00:00
screenshot.c
screenshot.h
scripting.c
sub.c
video.c player: rearrange video sync opts/enums/defines 2022-04-11 18:14:22 +00:00