From 042bdd688f9ce840b8f32c3cc36216f297920f37 Mon Sep 17 00:00:00 2001 From: Niklas Haas Date: Fri, 7 Dec 2018 09:26:17 +0100 Subject: [PATCH] vout: libplacebo: add PL_COLOR_PRIM_DISPLAY_P3 This was added to the list of display primaries in libplacebo 0.5.0, but we never added it to this list. No ifdef is needed because we already require libplacebo >= 0.5.0 in our configure.ac. We add it to the end of the list to avoid breaking existing vlcrc, even though the order is less pretty this way. Signed-off-by: Thomas Guillem --- modules/video_output/placebo_utils.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/modules/video_output/placebo_utils.h b/modules/video_output/placebo_utils.h index ab7caf4e1c..1b216adb09 100644 --- a/modules/video_output/placebo_utils.h +++ b/modules/video_output/placebo_utils.h @@ -82,6 +82,7 @@ static const int prim_values[] = { PL_COLOR_PRIM_DCI_P3, PL_COLOR_PRIM_V_GAMUT, PL_COLOR_PRIM_S_GAMUT, + PL_COLOR_PRIM_DISPLAY_P3, }; static const char * const prim_text[] = { @@ -98,6 +99,7 @@ static const char * const prim_text[] = { "DCI-P3 (Digital Cinema)", "Panasonic V-Gamut (VARICAM)", "Sony S-Gamut", + "Display-P3 (Digital Cinema with D65)", }; #define TRC_TEXT "Display gamma / transfer function" -- 2.11.4.GIT