fmor / demo_ffmpeg_vaapi_gl

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

eglCreateImage return EGL_NO_IMAGE

Mangomm opened this issue · comments

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。