From 23843b4aa594dc8c885575f3d237cde3c29398a2 Mon Sep 17 00:00:00 2001 From: Dudemanguy Date: Sat, 2 Nov 2024 21:53:14 -0500 Subject: [PATCH] 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. --- DOCS/interface-changes/target-hint.txt | 1 + DOCS/man/options.rst | 1 + video/out/vo_gpu_next.c | 1 + 3 files changed, 3 insertions(+) create mode 100644 DOCS/interface-changes/target-hint.txt diff --git a/DOCS/interface-changes/target-hint.txt b/DOCS/interface-changes/target-hint.txt new file mode 100644 index 0000000000..03f7f6ddfc --- /dev/null +++ b/DOCS/interface-changes/target-hint.txt @@ -0,0 +1 @@ +change `target-colorspace-hint` default to `yes` diff --git a/DOCS/man/options.rst b/DOCS/man/options.rst index 6c2f7e4e21..670de614e5 100644 --- a/DOCS/man/options.rst +++ b/DOCS/man/options.rst @@ -6830,6 +6830,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=`` Specifies the primaries of the display. Video colors will be adapted to diff --git a/video/out/vo_gpu_next.c b/video/out/vo_gpu_next.c index 221ef2ff02..0663777376 100644 --- a/video/out/vo_gpu_next.c +++ b/video/out/vo_gpu_next.c @@ -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,