mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2023-10-10 13:37:41 +02:00
fixed RESU no picture
This commit is contained in:
parent
4a28f3f99b
commit
97f53c8274
8
video.c
8
video.c
@ -1967,12 +1967,14 @@ Debug(3,"Cuvid Clean up\n");
|
||||
static void CuvidDelHwDecoder(CuvidDecoder * decoder)
|
||||
{
|
||||
int i,n;
|
||||
Debug(3,"cuvid del hw decoder\n");
|
||||
#if 0
|
||||
Debug(3,"cuvid del hw decoder cuda_ctx %p\n",decoder->cuda_ctx);
|
||||
//#if 0
|
||||
glXMakeCurrent(XlibDisplay, VideoWindow, GlxContext);
|
||||
GlxCheck();
|
||||
if (decoder->SurfaceFreeN || decoder->SurfaceUsedN) {
|
||||
CuvidDestroySurfaces(decoder);
|
||||
}
|
||||
|
||||
#if 0
|
||||
if (decoder->cuda_ctx) {
|
||||
cuCtxDestroy (decoder->cuda_ctx);
|
||||
decoder->cuda_ctx = NULL;
|
||||
|
Loading…
Reference in New Issue
Block a user