Skip to content

Commit

Permalink
Merge branch 'mpv-player:master' into plex-htpc-hdr-patches
Browse files Browse the repository at this point in the history
  • Loading branch information
mitzsch authored Nov 22, 2023
2 parents 267a4f0 + 2a57a6e commit 273d064
Show file tree
Hide file tree
Showing 9 changed files with 286 additions and 297 deletions.
6 changes: 2 additions & 4 deletions DOCS/interface-changes.rst
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ Interface changes
- remove `auto-forced-only` property
- rename `--sub-forced-only` to `--sub-forced-events-only`
- remove `sub-forced-only-cur` property (`--sub-forced-events-only` is a replacement)
- add `hdr-metadata` property
- remove deprecated `video-aspect` property
- add `--video-crop`
- add `video-params/crop-[w,h,x,y]`
Expand Down Expand Up @@ -113,14 +112,13 @@ Interface changes
- `--demuxer-hysteresis-secs` now respects `--cache-secs` and/or
`--demuxer-readahead-secs` as well
- add hdr metadata to `video-params` property
- remove `hdr-metadata` property
- add `--target-gamut`
- change the way display names are retrieved on macOS, usage of options and properties
`--fs-screen-name`, `--screen-name` and `display-names` needs to be adjusted
- remove OpenGL cocoa backend that was deprecated in 0.29
- remove `--border`, `--fullscreen`, `--ontop`, `--osd-level` and `--pause`
- remove `border`, `fullscreen`, `ontop`, `osd-level` and `pause`
from default `--watch-later-options`
- add `--video-*` and `--secondary-sub-visibility` to default `--watch-later-options`
- add `video-*` and `secondary-sub-visibility` to default `--watch-later-options`
--- mpv 0.36.0 ---
- add `--target-contrast`
- Target luminance value is now also applied when ICC profile is used.
Expand Down
29 changes: 16 additions & 13 deletions DOCS/man/options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6810,14 +6810,14 @@ them.
profile via ``MPV_RENDER_PARAM_ICC_PROFILE``.

``--icc-cache``
Store and load 3D LUTs created from the ICC profile on disk in the
Store and load 3DLUTs created from the ICC profile on disk in the
cache directory (Default: ``yes``). This can be used to speed up loading,
since LittleCMS 2 can take a while to create a 3D LUT. Note that these
files contain uncompressed LUTs. Their size depends on the
``--icc-3dlut-size``, and can be very big.

NOTE: This is not cleaned automatically, so old, unused cache files may
stick around indefinitely.
NOTE: On ``--vo=gpu``, this is not cleaned automatically, so old, unused
cache files may stick around indefinitely.

``--icc-cache-dir``
The directory where icc cache is stored. Cache is stored in the system's
Expand All @@ -6838,8 +6838,11 @@ them.

``--icc-3dlut-size=<auto|RxGxB>``
Size of the 3D LUT generated from the ICC profile in each dimension. The
default of ``auto`` means to pick the size automatically based on internal
heuristics. Sizes may range from 2 to 512.
default of ``auto`` means to pick the size automatically based on the
profile characteristics. Sizes may range from 2 to 512.

NOTE: Setting this option to anything other than ``auto`` is **strongly**
discouraged, except for testing.

``--icc-force-contrast=<no|0-1000000|inf>``
Override the target device's detected contrast ratio by a specific value.
Expand Down Expand Up @@ -6960,14 +6963,14 @@ them.
This option might be silently removed in the future.

``--gpu-shader-cache``
Store and load compiled GLSL shaders in the cache directory (Default: ``yes``).
Normally, shader compilation is very fast, so this is not usually needed.
It mostly matters for GPU APIs that require internally recompiling shaders to
other languages, for example anything based on ANGLE or Vulkan. Enabling this
can improve startup performance on these platforms.

NOTE: This is not cleaned automatically, so old, unused cache files may
stick around indefinitely.
Store and load compiled GLSL shaders in the cache directory (Default:
``yes``). Normally, shader compilation is very fast, so this is not usually
needed. It mostly matters for anything based on D3D11 (including ANGLE), as
well as on some other proprietary drivers. Enabling this can improve startup
performance on these platforms.

NOTE: On ``--vo=gpu``, is not cleaned automatically, so old, unused cache
files may stick around indefinitely.

``--gpu-shader-cache-dir``
The directory where gpu shader cache is stored. Cache is stored in the system's
Expand Down
Loading

0 comments on commit 273d064

Please sign in to comment.