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

Fix UHD crash with DRM

This commit is contained in:
jojo61 2019-12-28 11:16:01 +01:00
parent 50299f178f
commit fe3681f6eb

View File

@ -3599,7 +3599,7 @@ static void CuvidMixVideo(CuvidDecoder * decoder, __attribute__((unused))
deband.grain = 0.0f; // no grain in HDR
img->color.sig_scale = 1.0f;
pl->shift_x = -0.5f;
#ifdef VAAPI
#if defined VAAPI || defined USE_DRM
render_params.peak_detect_params = NULL;
#endif
// img->color.primaries = PL_COLOR_PRIM_BT_2020;