[583/906] deinterlace: change for new API

also allow elements to call the _filter_texture vfunc if they want
This commit is contained in:
Matthew Waters 2012-09-20 23:06:49 +10:00 committed by Tim-Philipp Müller
parent eed7e15ed2
commit c7f49800e3
2 changed files with 3 additions and 1 deletions

View file

@ -571,7 +571,7 @@ gst_gl_filter_decide_allocation (GstBaseTransform * trans, GstQuery * query)
return TRUE; return TRUE;
} }
static gboolean gboolean
gst_gl_filter_filter_texture (GstGLFilter * filter, GstBuffer * inbuf, gst_gl_filter_filter_texture (GstGLFilter * filter, GstBuffer * inbuf,
GstBuffer * outbuf) GstBuffer * outbuf)
{ {

View file

@ -97,6 +97,8 @@ struct _GstGLFilterClass
GType gst_gl_filter_get_type(void); GType gst_gl_filter_get_type(void);
gboolean gst_gl_filter_filter_texture (GstGLFilter * filter, GstBuffer * inbuf,
GstBuffer * outbuf);
void void
gst_gl_filter_render_to_target (GstGLFilter *filter, gst_gl_filter_render_to_target (GstGLFilter *filter,