1
0
mirror of https://github.com/mpv-player/mpv synced 2024-12-17 20:34:58 +00:00

vo_gpu_next: set --target-colorspace-hint to yes by default

It simply does not make any sense to not signal the correct colorspace
and metadata by default.
This commit is contained in:
Dudemanguy 2024-11-02 21:53:14 -05:00
parent d5f1cd07dc
commit 23843b4aa5
3 changed files with 3 additions and 0 deletions

View File

@ -0,0 +1 @@
change `target-colorspace-hint` default to `yes`

View File

@ -6830,6 +6830,7 @@ them.
Automatically configure the output colorspace of the display to pass Automatically configure the output colorspace of the display to pass
through the input values of the stream (e.g. for HDR passthrough), if through the input values of the stream (e.g. for HDR passthrough), if
possible. Requires a supporting driver and ``--vo=gpu-next``. possible. Requires a supporting driver and ``--vo=gpu-next``.
(Default: ``yes``)
``--target-prim=<value>`` ``--target-prim=<value>``
Specifies the primaries of the display. Video colors will be adapted to Specifies the primaries of the display. Video colors will be adapted to

View File

@ -206,6 +206,7 @@ const struct m_sub_options gl_next_conf = {
.defaults = &(struct gl_next_opts) { .defaults = &(struct gl_next_opts) {
.border_background = BACKGROUND_COLOR, .border_background = BACKGROUND_COLOR,
.inter_preserve = true, .inter_preserve = true,
.target_hint = true,
}, },
.size = sizeof(struct gl_next_opts), .size = sizeof(struct gl_next_opts),
.change_flags = UPDATE_VIDEO, .change_flags = UPDATE_VIDEO,