glvideomixerelement: GStreamer Base Plugins 1.0 Plugins Reference Manual

## glvideomixerelement glvideomixerelement |

## Types and Values

struct | GstGLVideoMixer
enum | GstGLVideoMixerBackground

## Description

## Functions

## Types and Values

### struct GstGLVideoMixer

    struct GstGLVideoMixer {
        GstGLMixer mixer;

        GstGLVideoMixerBackground background;

        GstGLShader *shader;
        GstGLShader *checker;

        GLuint vao;
        GLuint vbo_indices;
        GLuint checker_vbo;
        GstGLMemory *out_tex;

        gboolean output_geo_change;
    };

### enum GstGLVideoMixerBackground

The different backgrounds compositor can blend over.

#### Members

GST_GL_VIDEO_MIXER_BACKGROUND_CHECKER | checker pattern background |
GST_GL_VIDEO_MIXER_BACKGROUND_BLACK | solid color black background |
GST_GL_VIDEO_MIXER_BACKGROUND_WHITE | solid color white background |
GST_GL_VIDEO_MIXER_BACKGROUND_TRANSPARENT | background is left transparent and layers are composited using "A OVER B" composition rules. This is only applicable to AYUV and ARGB (and variants) as it preserves the alpha channel and allows for further mixing. |