mirror of
https://github.com/jojo61/vdr-plugin-softhdcuvid.git
synced 2025-03-01 10:39:28 +00:00
Fix drm Filepointer
This commit is contained in:
2
video.c
2
video.c
@@ -2553,7 +2553,7 @@ void generateVAAPIImage(CuvidDecoder * decoder, int index, const AVFrame * frame
|
|||||||
decoder->fds[index*Planes+n] = fd;
|
decoder->fds[index*Planes+n] = fd;
|
||||||
#endif
|
#endif
|
||||||
}
|
}
|
||||||
decoder->fds[index*Planes+n] = desc.objects[0].fd;
|
decoder->fds[index*Planes] = desc.objects[0].fd;
|
||||||
glBindTexture(GL_TEXTURE_2D, 0);
|
glBindTexture(GL_TEXTURE_2D, 0);
|
||||||
eglMakeCurrent(eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
|
eglMakeCurrent(eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
|
||||||
EglCheck();
|
EglCheck();
|
||||||
|
|||||||
Reference in New Issue
Block a user