Skip to content

GstGL GLMixer processTextures function is generated as invalid function #175

@BwackNinja

Description

@BwackNinja

This seems to be a corner-case in code generation.

The virtual-method and method signatures for processTextures in GLMixer don't match. One expects a GstGLMemory out_tex, and the other expects GstBuffer out_buf. This results in generated code using outTex without declaring it.

Despite having the same name, processTextures(Buffer outbuf) and the virtual method processTextures(GLMemory outtex) aren't the same method. The one taking the Buffer should call gst_gl_mixer_process_textures, while the one taking the GLMemory is called within gst_gl_mixer_process_textures and is implemented/overriden by subclasses.

Looking through gstreamer git, this was introduced 12 years ago: https://gitlab.freedesktop.org/gstreamer/gstreamer/-/commit/89569276c563d3343417ea5e34bddcd0714131d7

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