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

More cuvid fixes

This commit is contained in:
jojo61 2019-12-17 11:12:00 +01:00
parent 4334894515
commit 1274e673ec

View File

@ -2053,10 +2053,12 @@ static void CuvidDelHwDecoder(CuvidDecoder * decoder)
eglMakeCurrent(eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, eglContext);
EglCheck();
#endif
#endif
#endif
#if defined PLACEBO || defined VAAPI
if (decoder->SurfaceFreeN || decoder->SurfaceUsedN) {
CuvidDestroySurfaces(decoder);
}
#endif
if (decoder == CuvidDecoders[0])
VideoThreadUnlock();