0
0
mirror of https://github.com/mpv-player/mpv.git synced 2024-09-20 12:02:23 +02:00
mpv/video/out/mac
der richter a54cc02341 mac: change display name retrieval to localizedName NSScreen property
the old displayName property via the IODisplay API is not working
anymore on ARM based macs and was broken in at least one other case.

instead we use the new localizedName property introduced in 10.15 of the
NSScreen. we don't need any backwards compatibility since 10.15 is the
oldest version we support now.

configs and scripts that use the options and properties fs-screen-name,
screen-name or display-names need to be adjusted since the names could
differ from the previous implementation via the IODisplay API.

Fixes #9697
2023-11-10 14:30:32 +01:00
..
common.swift mac: change display name retrieval to localizedName NSScreen property 2023-11-10 14:30:32 +01:00
gl_layer.swift mac: remove runtime checks and compatibility for macOS older than 10.15 2023-11-09 18:12:25 +00:00
metal_layer.swift vo_gpu/vo_gpu_next: add vulkan support for macOS 2023-10-14 18:39:56 +02:00
title_bar.swift mac: remove runtime checks and compatibility for macOS older than 10.15 2023-11-09 18:12:25 +00:00
view.swift mac: remove runtime checks and compatibility for macOS older than 10.15 2023-11-09 18:12:25 +00:00
window.swift mac: add a window animation lock to wait for animations to finish 2023-10-14 18:39:56 +02:00