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:
parent
4334894515
commit
1274e673ec
2
video.c
2
video.c
@ -2054,9 +2054,11 @@ static void CuvidDelHwDecoder(CuvidDecoder * decoder)
|
||||
EglCheck();
|
||||
#endif
|
||||
#endif
|
||||
#if defined PLACEBO || defined VAAPI
|
||||
if (decoder->SurfaceFreeN || decoder->SurfaceUsedN) {
|
||||
CuvidDestroySurfaces(decoder);
|
||||
}
|
||||
#endif
|
||||
if (decoder == CuvidDecoders[0])
|
||||
VideoThreadUnlock();
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user