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

Fix drm Filepointer

This commit is contained in:
jojo61 2020-01-18 12:58:02 +01:00
parent 1674600882
commit 2ec7a250a3

View File

@ -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();