1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-27 09:32:40 +00:00
mpv/osdep/macos
der richter a32db637b5 mac: replace old event tap for media key support with MediaPlayer
the old event tap has several problems, like no proper priority support
or having to set accessibility permissions for mpv or the terminal.

it is now replaced by the new MediaPlayer which has proper priority
support and isn't as greedy as previously. this only includes Media Key
support and not any of the other features included in the MediaPlayer
framework, like proper Now Playing data (only set dummy data for now).
this is only available on macOS 10.12.2 and higher.

also removes some unnecessary redefines.

Fixes #6389
2019-12-15 20:07:31 +01:00
..
libmpv_helper.swift cocoa-cb: fix freeing of macos_opts config group 2019-12-15 20:07:11 +01:00
log_helper.swift
mpv_helper.swift cocoa-cb: update and add more options to use new options handling 2019-12-15 20:07:11 +01:00
remote_command_center.swift mac: replace old event tap for media key support with MediaPlayer 2019-12-15 20:07:31 +01:00
swift_compat.swift
swift_extensions.swift