mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2025-03-01 10:39:28 +00:00
More cuvid fixes
This commit is contained in:
4
video.c
4
video.c
@@ -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();
|
||||
|
||||
|
Reference in New Issue
Block a user