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:
parent
50299f178f
commit
fe3681f6eb
2
video.c
2
video.c
@ -3599,7 +3599,7 @@ static void CuvidMixVideo(CuvidDecoder * decoder, __attribute__((unused))
|
|||||||
deband.grain = 0.0f; // no grain in HDR
|
deband.grain = 0.0f; // no grain in HDR
|
||||||
img->color.sig_scale = 1.0f;
|
img->color.sig_scale = 1.0f;
|
||||||
pl->shift_x = -0.5f;
|
pl->shift_x = -0.5f;
|
||||||
#ifdef VAAPI
|
#if defined VAAPI || defined USE_DRM
|
||||||
render_params.peak_detect_params = NULL;
|
render_params.peak_detect_params = NULL;
|
||||||
#endif
|
#endif
|
||||||
// img->color.primaries = PL_COLOR_PRIM_BT_2020;
|
// img->color.primaries = PL_COLOR_PRIM_BT_2020;
|
||||||
|
Loading…
Reference in New Issue
Block a user