summaryrefslogtreecommitdiff
path: root/ext/gl/gstglstereomix.h
diff options
context:
space:
mode:
Diffstat (limited to 'ext/gl/gstglstereomix.h')
-rw-r--r--ext/gl/gstglstereomix.h30
1 files changed, 19 insertions, 11 deletions
diff --git a/ext/gl/gstglstereomix.h b/ext/gl/gstglstereomix.h
index 0c06d4262..b0f1bd232 100644
--- a/ext/gl/gstglstereomix.h
+++ b/ext/gl/gstglstereomix.h
@@ -40,15 +40,30 @@ G_BEGIN_DECLS
typedef struct _GstGLStereoMix GstGLStereoMix;
typedef struct _GstGLStereoMixClass GstGLStereoMixClass;
-typedef struct _GstGLStereoMixFrameData GstGLStereoMixFrameData;
+typedef struct _GstGLStereoMixPad GstGLStereoMixPad;
+typedef struct _GstGLStereoMixPadClass GstGLStereoMixPadClass;
+
+struct _GstGLStereoMixPad
+{
+ GstGLMixerPad mixer_pad;
+
+ gboolean mapped;
+ GstBuffer *current_buffer;
+};
+
+struct _GstGLStereoMixPadClass
+{
+ GstGLMixerPadClass mixer_pad_class;
+};
+
+#define GST_TYPE_GL_STEREO_MIX_PAD (gst_gl_stereo_mix_pad_get_type ())
+GType gst_gl_stereo_mix_pad_get_type (void);
+
struct _GstGLStereoMix
{
GstGLMixer mixer;
- GPtrArray *array_buffers;
- GPtrArray *frames;
-
GLuint out_tex_id;
GstGLViewConvert *viewconvert;
@@ -69,13 +84,6 @@ struct _GstGLStereoMixClass
GstGLMixerClass mixer_class;
};
-struct _GstGLStereoMixFrameData
-{
- GstGLMixerFrameData base;
- gboolean mapped;
- GstBuffer *buf;
-};
-
GType gst_gl_stereo_mix_get_type(void);
G_END_DECLS