[vlc-commits] vout: libplacebo: add PL_COLOR_PRIM_DISPLAY_P3

Niklas Haas git at videolan.org
Fri Dec 7 09:50:02 CET 2018


vlc | branch: master | Niklas Haas <git at haasn.xyz> | Fri Dec  7 09:26:17 2018 +0100| [042bdd688f9ce840b8f32c3cc36216f297920f37] | committer: Thomas Guillem

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 <thomas at gllm.fr>

> http://git.videolan.org/gitweb.cgi/vlc.git/?a=commit;h=042bdd688f9ce840b8f32c3cc36216f297920f37
---

 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"



More information about the vlc-commits mailing list