mpv/video
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
..
decode player/command: add video-codec-info and audio-codec-info 2024-04-15 19:34:40 +02:00
filter vf_format: add hdr10plus sub-parameter to format video filter 2024-03-09 05:58:52 +00:00
out mac: make display-names unique to allow specific selection 2024-04-24 20:35:38 +02:00
csputils.c csputils: add missing PL_COLOR_SYSTEM names 2024-03-09 05:58:52 +00:00
csputils.h csputils: replace more primitives with pl_ 2024-01-22 14:54:55 +00:00
cuda.c cuda: move --cuda-device to cuda_opts group 2023-09-22 14:20:38 +00:00
d3d.c vo: add missing return variable assignment 2023-11-18 23:55:28 +00:00
d3d.h
drmprime.c various: drop unused #include "config.h" 2023-02-20 14:21:18 +00:00
fmt-conversion.c video: don't define IMGFMT_VULKAN conditionally 2024-02-26 17:37:20 +01:00
fmt-conversion.h
hwdec.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
hwdec.h hwtransfer: use the right hardware config to find conversion targets 2023-08-26 10:07:55 -07:00
image_loader.c screenshot, vo_image: use global swscale/zimg parameters 2019-10-31 15:44:09 +01:00
image_loader.h
image_writer.c image_writer: refactor screenshot write functions 2024-03-19 19:30:27 +01:00
image_writer.h image_writer: fix TOCTOU in screenshot filename generation 2024-03-19 19:30:27 +01:00
img_format.c csputils: replace mp_colorspace with pl_color_space 2024-01-22 14:54:55 +00:00
img_format.h video: don't define IMGFMT_VULKAN conditionally 2024-02-26 17:37:20 +01:00
mp_image.c video/image_writer: attach MDVC metadata and CLLI metadata 2024-03-19 09:49:04 +01:00
mp_image.h mp_image: add Dolby Vision metadata mapping 2024-03-09 05:58:52 +00:00
mp_image_pool.c chmap: mp_image_pool: drop stale mentions of Libav in comments 2024-01-20 16:10:20 +00:00
mp_image_pool.h f_hwtransfer: disable vulkan multiplane images when uploading from cuda 2023-05-28 15:46:05 -07:00
repack.c repack: add restrict qualifier to src/dst pointers 2024-03-19 13:04:05 +01:00
repack.h repack: add support for converting from/to float formats 2020-05-09 18:02:57 +02:00
sws_utils.c csputils: replace mp_chroma_location with pl_chroma_location 2024-01-22 14:54:55 +00:00
sws_utils.h sws_utils: work around libswscale corrupting memory yet again 2020-09-17 15:24:27 +02:00
vaapi.c various: avoid function pointer casts 2024-02-28 16:04:02 +00:00
vaapi.h csputils: replace mp_colorspace with pl_color_space 2024-01-22 14:54:55 +00:00
vdpau.c ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
vdpau.h ALL: use new mp_thread abstraction 2023-11-05 17:36:17 +00:00
vdpau_functions.inc
vdpau_mixer.c mp_image: add mp_image_params_static_equal for finer comparision 2024-03-09 05:58:52 +00:00
vdpau_mixer.h options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00
zimg.c csputils: replace more primitives with pl_ 2024-01-22 14:54:55 +00:00
zimg.h options: transition options from OPT_FLAG to OPT_BOOL 2023-02-21 17:15:17 +00:00