Skip to content

eglCreateImage return EGL_NO_IMAGE #4

@Mangomm

Description

@Mangomm

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。

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions