Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

eglCreateImage return EGL_NO_IMAGE #4

Open
Mangomm opened this issue Aug 28, 2023 · 1 comment
Open

eglCreateImage return EGL_NO_IMAGE #4

Mangomm opened this issue Aug 28, 2023 · 1 comment

Comments

@Mangomm
Copy link

Mangomm commented Aug 28, 2023

code:
egl_image = eglCreateImage( eglGetCurrentDisplay(), EGL_NO_CONTEXT, EGL_LINUX_DMA_BUF_EXT, NULL, egl_img_attributes );

system:
admin1@admin1:~/test/demo_ffmpeg_vaapi_gl/build$ uname -a
Linux admin1 5.4.18-53-generic #42-KYLINOS SMP Fri Mar 4 03:34:54 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux

When I refer to obs error handling, the message printed is:
"Arguments are inconsistent (for example, a valid context requires buffers not supplied by a valid surface).";

Do not know how to solve。

@wonderful27x
Copy link

i got the same error 0x3009 (EGL_BAD_MATCH)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants