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
4
video.c
4
video.c
@ -1161,7 +1161,7 @@ static void EglInit(void)
|
||||
EGLContext context;
|
||||
|
||||
// create egl context
|
||||
setenv("MESA_GL_VERSION_OVERRIDE","3.3",0);
|
||||
setenv("MESA_GL_VERSION_OVERRIDE","3.3",0);
|
||||
make_egl();
|
||||
GLenum err = glewInit();
|
||||
|
||||
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user