diff options
Diffstat (limited to 'gst-libs/gst/gl/gstglcolorconvert.h')
-rw-r--r-- | gst-libs/gst/gl/gstglcolorconvert.h | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/gst-libs/gst/gl/gstglcolorconvert.h b/gst-libs/gst/gl/gstglcolorconvert.h index 976653d4..9b905c77 100644 --- a/gst-libs/gst/gl/gstglcolorconvert.h +++ b/gst-libs/gst/gl/gstglcolorconvert.h @@ -46,8 +46,6 @@ struct _GstGLColorConvert /* <private> */ GstObject parent; - GMutex lock; - GstGLContext *context; /* input data */ @@ -56,8 +54,8 @@ struct _GstGLColorConvert gboolean initted; - GstGLMemory * in_tex[GST_VIDEO_MAX_PLANES]; - GstGLMemory * out_tex[GST_VIDEO_MAX_PLANES]; + GstBuffer * inbuf; + GstBuffer * outbuf; /* used for the conversion */ GLuint fbo; @@ -105,9 +103,7 @@ void gst_gl_color_convert_set_format (GstGLColorConvert * convert, GstVideoInfo * in_info, GstVideoInfo * out_info); -gboolean gst_gl_color_convert_perform (GstGLColorConvert * convert, - GstGLMemory * in_tex[GST_VIDEO_MAX_PLANES], - GstGLMemory * out_tex[GST_VIDEO_MAX_PLANES]); +GstBuffer * gst_gl_color_convert_perform (GstGLColorConvert * convert, GstBuffer * inbuf); G_END_DECLS |