mpv/video/out
der richter f7a32b5f29 mac: make display-names unique to allow specific selection
the Screen property localizedName returns a none unique dynamic name
that doesn't allow a specific selection of a Screen on every OS boot.
the name consists of the vendor name and model name (eg DELL U2723QE).
if the same model display is connected to the system several times,
macOS starts to add numbers to the localizedName (eg DELL U2723QE (1)),
that may not be associated to the same Screen on every OS boot or
connecting the display. it also changes the name of the first connected
display by adding that numeration. this makes it impossible specify the
proper screen with the screen-name option every time.

to circumvent this we remove the enumeration from the name and instead
add the serial number to the display-names property. this makes the
actual Screen unique and none dynamic. furthermore the selection of a
screen by name will check for equality for the old localizedName, simple
name without enumeration, serial number and the combined name with
serial number. this makes it possible to select the screen by either of
those names and identifiers, and keeps backwards compatibility with the
old behaviour.

Examples:
localized name (System Settings name): DELL U2723QE, DELL U2723QE (1)
simple name: DELL U2723QE
serial number: 123456789
combined name: DELL U2723QE (123456789)
2024-04-24 20:35:38 +02:00
..
d3d11 d3d11: disable IDXGIInfoQueue usage if dxgidebug.h is incomplete 2024-04-19 03:32:29 +02:00
gpu d3d11: disable IDXGIInfoQueue usage if dxgidebug.h is incomplete 2024-04-19 03:32:29 +02:00
gpu_next vo_gpu_next: fix -Wembedded-directive warning 2024-03-19 08:58:18 +01:00
hwdec various: fix -Wold-style-declaration warning 2024-03-19 08:58:18 +01:00
mac mac: make display-names unique to allow specific selection 2024-04-24 20:35:38 +02:00
opengl context_drm_egl: guard gbm_device on uninit 2024-04-18 14:57:01 -05:00
placebo video/out/placebo/utils: fix -Wignored-qualifiers warning 2024-03-19 08:58:18 +01:00
vulkan various: add GPU context description 2024-04-18 16:28:21 +02:00
win32 vo: add win32 context menu support 2024-04-06 08:24:06 +02:00
wldmabuf various: add GPU context description 2024-04-18 16:28:21 +02:00
android_common.c
android_common.h
aspect.c
aspect.h
bitmap_packer.c
bitmap_packer.h
cocoa_cb_common.swift mac/log: rename log functions and cleanup class 2024-03-29 14:20:40 +01:00
dither.c
dither.h
dr_helper.c
dr_helper.h
drm_atomic.c
drm_atomic.h
drm_common.c various: use thread safe mp_strerror() 2024-03-19 19:30:27 +01:00
drm_common.h
drm_prime.c
drm_prime.h
filter_kernels.c
filter_kernels.h
libmpv.h
libmpv_sw.c
mac_common.swift mac/vulkan: add support for frame timing via presentation feedback 2024-04-10 19:14:20 +02:00
meson.build
present_sync.c
present_sync.h
vo.c
vo.h vo: add win32 context menu support 2024-04-06 08:24:06 +02:00
vo_caca.c
vo_direct3d.c vo_direct3d: support video-target-params 2024-03-27 22:08:56 +01:00
vo_dmabuf_wayland.c vo_dmabuf_wayland: use wl_fixed_from_int when setting viewport source 2024-04-21 13:42:49 -05:00
vo_drm.c
vo_gpu.c vo_gpu: support video-target-params 2024-03-27 22:08:56 +01:00
vo_gpu_next.c vo_gpu_next: invalidate cache object if requested by libplacebo 2024-04-18 02:25:12 +02:00
vo_image.c image_writer: fix TOCTOU in screenshot filename generation 2024-03-19 19:30:27 +01:00
vo_kitty.c terminal: add terminal_set_mouse_input function 2024-04-18 01:03:33 +02:00
vo_lavc.c
vo_libmpv.c mac/apphub: migrate remaining events functionality to new AppHub 2024-03-24 23:03:48 +01:00
vo_mediacodec_embed.c
vo_null.c
vo_sdl.c
vo_sixel.c terminal: add terminal_set_mouse_input function 2024-04-18 01:03:33 +02:00
vo_tct.c terminal: add terminal_set_mouse_input function 2024-04-18 01:03:33 +02:00
vo_vaapi.c
vo_vdpau.c
vo_wlshm.c
vo_x11.c
vo_xv.c vo_xv: support video-target-params 2024-03-27 22:08:56 +01:00
w32_common.c w32_common: implement --show-in-taskbar option 2024-04-18 00:09:09 +02:00
w32_common.h
wayland_common.c wayland: fix segfault in surface_handle_enter due to memory read 2024-04-15 16:41:01 +00:00
wayland_common.h wayland: only perform a rescale if window is on one output 2024-04-14 17:09:31 +00:00
win_state.c
win_state.h
x11_common.c x11: always do a reset_size if geometry/autofit is updated at runtime 2024-04-18 17:40:16 +00:00
x11_common.h