1
0
mirror of https://github.com/jojo61/vdr-plugin-softhdcuvid.git synced 2023-10-10 13:37:41 +02:00

Support libplacebo up to API 292

This commit is contained in:
jojo61 2023-07-14 10:46:25 +02:00
parent 45c86f12dd
commit 38bda0c834

View File

@ -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;