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:
parent
1674600882
commit
2ec7a250a3
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();
|
||||||
|
Loading…
Reference in New Issue
Block a user