Skip to content

Commit

Permalink
vo_gpu_next: set --target-colorspace-hint to yes by default
Browse files Browse the repository at this point in the history
It simply does not make any sense to not signal the correct colorspace
and metadata by default.
  • Loading branch information
Dudemanguy committed Nov 3, 2024
1 parent 97acebd commit 7e30112
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions DOCS/interface-changes/target-hint.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
change `target-colorspace-hint` default to `yes`
1 change: 1 addition & 0 deletions DOCS/man/options.rst
Original file line number Diff line number Diff line change
Expand Up @@ -6812,6 +6812,7 @@ them.
Automatically configure the output colorspace of the display to pass
through the input values of the stream (e.g. for HDR passthrough), if
possible. Requires a supporting driver and ``--vo=gpu-next``.
(Default: ``yes``)

``--target-prim=<value>``
Specifies the primaries of the display. Video colors will be adapted to
Expand Down
1 change: 1 addition & 0 deletions video/out/vo_gpu_next.c
Original file line number Diff line number Diff line change
Expand Up @@ -206,6 +206,7 @@ const struct m_sub_options gl_next_conf = {
.defaults = &(struct gl_next_opts) {
.border_background = BACKGROUND_COLOR,
.inter_preserve = true,
.target_hint = true,
},
.size = sizeof(struct gl_next_opts),
.change_flags = UPDATE_VIDEO,
Expand Down

0 comments on commit 7e30112

Please sign in to comment.