From 38bda0c83489082862de557b9b2d994b6d42b016 Mon Sep 17 00:00:00 2001 From: jojo61 Date: Fri, 14 Jul 2023 10:46:25 +0200 Subject: [PATCH] Support libplacebo up to API 292 --- video.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/video.c b/video.c index 616c6e3..1a9b9cb 100644 --- a/video.c +++ b/video.c @@ -3191,9 +3191,9 @@ int get_RGB(CuvidDecoder *decoder) { target.repr.bits.bit_shift = 0; target.color.primaries = PL_COLOR_PRIM_BT_709; target.color.transfer = PL_COLOR_TRC_BT_1886; - target.color.light = PL_COLOR_LIGHT_DISPLAY; - target.color.sig_peak = 0; - target.color.sig_avg = 0; + //target.color.light = PL_COLOR_LIGHT_DISPLAY; + //target.color.sig_peak = 0; + //target.color.sig_avg = 0; if (ovl) { target.overlays = ovl;