Fix drm Filepointer

This commit is contained in:
jojo61 2020-01-18 12:58:02 +01:00
parent 1674600882
commit 2ec7a250a3
1 changed files with 1 additions and 1 deletions

View File

@ -2553,7 +2553,7 @@ void generateVAAPIImage(CuvidDecoder * decoder, int index, const AVFrame * frame
decoder->fds[index*Planes+n] = fd;
#endif
}
decoder->fds[index*Planes+n] = desc.objects[0].fd;
decoder->fds[index*Planes] = desc.objects[0].fd;
glBindTexture(GL_TEXTURE_2D, 0);
eglMakeCurrent(eglDisplay, EGL_NO_SURFACE, EGL_NO_SURFACE, EGL_NO_CONTEXT);
EglCheck();